How to Send Email From ASP.NET Page

This article features how to send email from an ASP.NET page. Using email from an ASP+ page has many uses (Notify of errors, inform people about a a subject. etc..). This code sample sends a formatted HTML message to the email address entered.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.