ASP.NET WebMail Class - Reference

The WebMail Class in ASP.NET WebPages allows you to send emails. It has seven properties and one main method. Make sure that the following properties are declared in the _AppStart file, as it will apply the settings to the whole website and is a secure file.

  • Password
  • UserName
  • SmtpServer
  • SmtpPort