Hi to all.I want to create registration form in asp .net, i want to send successfully notice send in user email id and email id and password also.
help some one.
How to send confirmation email to newly registering
How to send confirmation email to newly registering
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sam HobbsRank #107 · 20.5K reputationPosted Jun 10, 2011, 9:11 AM EDT
manoj kumar124 reputationPosted Jun 10, 2011, 9:27 AM EDT
Pradeep ChandrakerRank #941 · 2.2K reputationPosted Jun 10, 2011, 9:48 AM EDT
On your register button click event get the values form your UI controls and prepare HTML string in the format you want to send email. And send that html text as email body to the email id given by the user.
MailMessage mailMsg = new MailMessage();
mailMsg .From = "your email id";
mailMsg .To = "user email id";
mailMsg .Subject = "email subject";
mailMsg .Body = "mail body";
mailMsg.BodyFormat = MailFormat.Html;
SmtpMail.Send(mailMsg );
Don't forget to configure smtp server details in web.config.
For more information on send email from ASP.net please refer below articles:
http://www.c-sharpcorner.com/UploadFile/mahesh/send_mai1l11152005235217PM/send_mai1l.aspx
http://www.c-sharpcorner.com/UploadFile/ahsanshakir/sendmailwithattachment08022007001737AM/sendmailwithattachment.aspx