SMTP error

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
 
G

Gary van der Merwe

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top