PC Review


Reply
 
 
JonWayn
Guest
Posts: n/a
 
      3rd Feb 2010
Im not sure that this is posted at the correct place but I hope I can get
some help here. I have a routine thats placed in a library mda project and
used on a few computers. It uses CDO to send a simple email. It works fine on
2 computers but just simply refuses to go on the other 2 its suppose to work
on. It fails with an error saying something to the effect "failed
*transport*server*". I have seen multiple posts online regarding this issue
and they all converge on the same solution which I have tried to no avail. I
use the standard configuration settings, SendUsing, Authenticate,
ServerTimeout, etc. Like I stated, it works on 2 PCs so I dont doubt that
those settings are correct. In fact, one of the 2 pcs on which it works,
doesnt even use the configuration settings. I added those settings to PC2
when I started troubleshooting PC3. So I have 2 methods of going about it
that work on separate computers, neither of which works on the others. Any
help would be appreciated.

Set Config = CreateObject("CDO.Configuration")
Set CDOFlds = Config.Fields
1:
With CDOFlds
.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") =
"my.my.net"

..Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25

..Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout")
= 10
.Item("http://schemas.microsoft.com/cdo/configuration/sendusername")
= "myusername"
.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword")
= "mypassword"
.Update
End With

Set Msg = CreateObject("CDO.Message")
Set Msg.Configuration = Config
Msg.Subject = SubjectText
Msg.FROM = Sender
Msg.To = Recip
Msg.TextBody = BodyText
Msg.Send

Set CDOFlds = Nothing
Set Config = Nothing
Set Msg = Nothing

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server Error: 451, Socket Error: 10053, Error Number: 0x800CCC0F =?Utf-8?B?RGFuaWVsYQ==?= Windows XP Help 3 17th Aug 2007 05:10 PM
Access error 3197 and JETCOMP.exe error "Error compacting database =?Utf-8?B?Vmlja3k=?= Microsoft Access 2 21st Jul 2007 12:29 AM
Error connecting to SQLExpress 2005 locally (error: 26 - Error Locating Server/Instance Specified) hfk0 Microsoft ASP .NET 2 27th Mar 2006 09:43 PM
3 Problems - Media Center Error, Date/Time Error, Downloading Updates Error angieangie Windows XP General 0 23rd Dec 2005 06:33 PM
A runtime error has occured. Do you want to debug? Line: 1 Error: syntax error Eric Windows XP Networking 0 24th Nov 2003 03:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:16 PM.