hi,
i wish to sending mail in asp.net from local host.when i send the mail.Message sending failed error will occur,how can i solve this
Thanks
Sending mail in asp.net
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Feb 10, 2011, 1:43 AM EST
Are you using Code like this.
MailMessage msg = new MailMessage();
msg.To = "To address";
msg.From = "From address";
msg.Subject = "Subjust";
msg.Body = "body of the mail";
SmtpMail.SmtpServer = "smtp.yourISP.com";
SmtpMail.Send(msg);
Suthish NairRank #92 · 22.8K reputationPosted Feb 10, 2011, 3:19 AM EST
Please stop creating duplicate posts.. Update your existing post if the thread still not resolved.
Chakshu Jindal21 reputationPosted Jun 3, 2012, 11:41 PM EDT
And its very easy, don't get bothered, try to understand it.