HOW CAN YOU SEND AN EMAIL MESSAGE FROM AN ASP.NET WEB PAGE?

Sumit Kesarwani

Total Post:782

Points:3910
Posted by  Sumit Kesarwani
 972  View(s)
Ratings:
Rate this:
  1. Sumit Kesarwani

    Post:782

    Points:3910
    How can you send an email message from an ASP.NET Web page?

    You can use the System.Net.Mail.MailMessage and the System.Net.Mail.SmtpMail classes to send an email in your Web pages. In order to send an email through your mail server, you need to create an object of the SmtpClient class and set the server name, port, and credentials.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!