Google+ Followers

Connect

Get Updates Via Email

Enter your email address:

Delivered by FeedBurner

Friday, 25 January 2013

How to Send Email (Gmail) using ASP.NET C# SmtpClient?

In this article I'll explain you how to send Email using ASP.NET application;

Here I'm using SmptClient Class; So You must enable SMPT in your email settings; In this example I'm using Gmail server's SMPT, so you must enable SMPT in your gmail settings page. It is must for From Email Address and you can send To other mail clients.

In the below snapshots I'm showing  How to send Email using ASP.NET C# SmptClient (Gmail).

Here I'm using gworldos2013@gmail.com in From Address and I've already enabled SMPT in Gmail's setting page and then, in To Address I used to send more than one Email ID other mail client also include (example yahoo mail).

1. Design Page
















































2. Code Behind                                                                                           



3. Output