how to send mail in local host
You can use Yahoo/Gmail accounts to send emails or else you need to buy a domain and a mail server.
Refer
Send email with attachment in ASP.Net using C# VB.Net
Send email using Gmail SMTP Mail Server in ASP.Net
http://www.codeproject.com/Tips/520998/Send-Email-from-Yahoo-GMail-Hotmail-Csharp
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.