Hi
I'm using following code to send the emai
MailMessage myMail = new MailMessage()
myMail.From="my****@myServer.com"
myMail.To="my****@myServer.com"
myMail.Subject="subject"
myMail.Body="Body"
SmtpMail.SmtpServer="myMailServer"
SmtpMail.Send (myMail)
The problem is the I can only send the mail on the same server. if i
have t
send a mail to a different server like ab*@yahoo.com . it shows th
following erro
The server rejected one or more recipient addresses. The server
respons
was: 550 not local host yahoo.com, not a gatewa
how to send the mail to different server
Thanks in advance
da