This was working:
smtpMail.SmtpServer = sServerName
smtpMail.Send(Message)
'//
Now getting HttpException: Could not access 'CDO.Message' object.
InteropServices.COMException (0x80040213): The transport failed to connect
to server.
Note:
The Win 2000 AD Servers were replaced By Win 2003 Server Boxes on the weekend.
It would appear that the problem has occured after the upgrade...
Any Thoughts?
KeithO - 14 Sep 2004 03:35 GMT
Found Workround...
If anyone can explain why this worked I would like to know...
replaced smtpMail.smtpServer=sServerName
with
smtpMail.smtpServer.insert(0,sServerName)
'//
Found solution at Post
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF8&newwindow=1&threadm=e
PdwqQfZDHA.2136%40TK2MSFTNGP10.phx.gbl&rnum=75&prev=/groups%3Fq%3Dcdo.message%2B
group:microsoft.public.dotnet.*%26num%3D50%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3
DUTF8%26newwindow%3
> This was working:
>
[quoted text clipped - 11 lines]
>
> Any Thoughts?
KeithO - 14 Sep 2004 03:37 GMT
OK...Found workround.
If anyone can explain why let me know...
Replaced smtpMail.smtpServer=sServerName
with
smtpMail.smtpServer.insert(0,sServerName)
Found post at
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF8&newwindow=1&threadm=e
PdwqQfZDHA.2136%40TK2MSFTNGP10.phx.gbl&rnum=75&prev=/groups%3Fq%3Dcdo.message%2B
group:microsoft.public.dotnet.*%26num%3D50%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3
DUTF8%26newwindow%3
> This was working:
>
[quoted text clipped - 11 lines]
>
> Any Thoughts?