Thursday, March 29, 2012

SMTP Email ??

I have an error :

The transport failed to connect to the server.

SmtpMail.SmtpServer=(ip address);
SmtpMail.Send(myMessage); //error

Have somebody help me to resolve this problem ?

thanks !!!

Hi there, make sure the ip address is where your mail server is. Check the IIS to make sure the default SMTP is enabled in your ip address server.


thanksonionpunk!Smile

0 comments:

Post a Comment