<> wrote in message
news: oups.com...
> Could I see the code your using? Mostly to the configuration object.
>
Rocky,
Here you go.
--------------------
Set objSendMail = CreateObject("CDO.Message")
objSendMail.Subject = "CDO Test"
objSendMail.From = "Stu Test<>"
objSendMail.To =
objSendMail.TextBody = "CDO Test"
objSendMail.Configuration.Fields.Item
("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
'Name or IP of remote SMTP server
objSendMail.Configuration.Fields.Item
("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "127.0.0.1"
'Server port1
objSendMail.Configuration.Fields.Item
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
objSendMail.Configuration.Fields.Update
objSendMail.Send
--------------
The mail gets created and then just sits in the queue and does not a lot
more.
Thx for your help.
Stu