Tuesday, May 20, 2008

Fix for Developers not being able to send email from their box (programmatically)


Check if virus software installed, particularly port 25. aka "Prevent mass mailing worms from sending mail"
(MacAfee instructions below)

Thanks to DavidG @ http://www.systemwebmail.com/faq/4.2.9.aspx

"... Now from David This might be too specific an issue, but I'll mention it anyway. Setting SmtpMail.SmtpServer using the server name gives:
Could not access 'CDO.Message' object.
innerexception: The transport failed to connect to the server.
Setting SmtpMail.SmtpServer using the IP address gives:
Could not access 'CDO.Message' object.
innerexception: The message could not be sent to the SMTP server. The transport
error code was 0x800ccc15. The server response was not available
I tracked this issue down to McAfee VirusScan Enterprise 8.0 VirusScan Console, Access Protection, Properties, Port-Blocking tab, Rule:"Prevent mass mailing worms from sending mail" This blocks outbound access to any port 25 on the network. Edit button shows a list of excluded processes to which new processes can be added. Regards, DavidG ... "








No comments: