SMTP error

  • Thread starter Thread starter Jason
  • Start date Start date
J

Jason

Hi

I get the following error when trying to send a simple SMTP message...

System.Web.HttpException: Could not access 'CDO.Message' object. --->
System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. --->
System.Runtime.InteropServices.COMException (0x80040213): The transport
failed to connect to the server.

How would i fix such a problem?? where should i start looking for what?

Thanks
Jason
 
Hi Jason.

Don't worry about the " Could not access 'CDO.Message' object" bit. it says
that for any SMTP error.

The revelent error is "The transport failed to connect to the server.". Make
sure that your SMTP server name is correct. Make sure that you can
connected to you SMTP server from the machine that the app is running by
doing a ping.

Gary
 
Back
Top