Coding Cluster

Send Email from your GMAIL account using ASP.Net and C#:
This article is provide a demo for send Emails from your GMAIL account using ASP.Net and C#:
First create an aspx file named "SendGmail.aspx" with required input controls and action buttons. Please refer the below screen shot.

Give the id for from textbox as "txtFrom" and "txtTo", "txtSubject", "txtMessage" respectively.
Then add the following code into the "Send Email" button's OnClick method in thecode behind. Before appropriate name space (if you need).