HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
WebMail helper - one of the many useful ASP.NET Web Helper.
WebMail helper make it easier to send messages, which according to SMTP (Simple Mail Transfer Protocol Simple Mail Transfer Protocol) to send mail from the Web application.
To demonstrate how to use e-mail, we will create an input page that allows users to submit a page to another page, and send a message regarding support issues.
In this tutorial, if you have created a Demo application, then you already have a page called _AppStart.cshtml, as follows:
To start the WebMail helper, to increase your page AppStart WebMail property as follows:
Properties explained:
SmtpServer: for sending e-mail SMTP server name.
SmtpPort: SMTP server used to send the transaction (e-mail) port.
EnableSsl: If your server uses SSL (Secure Socket Layer Secure Sockets Layer) encryption, the value is true.
UserName: The name used for sending e-mail SMTP e-mail accounts.
Password: Password SMTP e-mail accounts.
From: e-mail sender's address bar (usually the same UserName).
Then create an input page, and name it Email_Input:
Purpose input page is your phone, and then submit the data to the information can be used as a new page e-mail sent.
Then create a page for sending e-mail, and name it Email_Send:
For more information about ASP.NET Web Pages application to send e-mail information, please consult: WebMail Object Reference .