SmtpClient c = new SmtpClient("loc alhost",25);
c.Send(new MailMessage("ad min@localhost", "admin@localhos t", "sub", "body"));
I wrote above code asp.net 2.0 to send mail to local system
O/S : Win XP
Browser: IE6
but iam getting this error, can any body help me
Mailbox unavailable. The server response was: 5.7.1 Unable to relay for admin@localhost
Thank U
CNU
c.Send(new MailMessage("ad min@localhost", "admin@localhos t", "sub", "body"));
I wrote above code asp.net 2.0 to send mail to local system
O/S : Win XP
Browser: IE6
but iam getting this error, can any body help me
Mailbox unavailable. The server response was: 5.7.1 Unable to relay for admin@localhost
Thank U
CNU
Comment