503 This mail server requires authentication

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
 

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

Similar Threads

mail attachment program in c# 1
System.web.mail 2
sending emails via site. 3
ASP 2.0 Net.Mail.SmtpClient Delay 2
SMTP question 8
smtp mail send weird question 1
Can't SendMail 3
Send Mail Problem 3

Top