G
Guest
Hi,
I'm using the following code for sending the e-mail. When I send the mail to
the same saver it works fine. but if I send mail to different server like
yahoo or anyother server. if gives me the following error:
The server rejected one or more recipient addresses. The server response
was: 503 This mail server requires authentication. Please check your mail
client settings.
MailMessage myMail = new MailMessage();
myMail.From="ac.xyx.com";
myMail.To= "(e-mail address removed)";
myMail.Subject="Order received";
myMail.Body="Body for the text";
SmtpMail.SmtpServer=myMailserver;
SmtpMail.Send (myMail);
Regards,
Das
I'm using the following code for sending the e-mail. When I send the mail to
the same saver it works fine. but if I send mail to different server like
yahoo or anyother server. if gives me the following error:
The server rejected one or more recipient addresses. The server response
was: 503 This mail server requires authentication. Please check your mail
client settings.
MailMessage myMail = new MailMessage();
myMail.From="ac.xyx.com";
myMail.To= "(e-mail address removed)";
myMail.Subject="Order received";
myMail.Body="Body for the text";
SmtpMail.SmtpServer=myMailserver;
SmtpMail.Send (myMail);
Regards,
Das