Home / Software / Tips and Tricks / Sending mail with Gmail Account using c# in ASP.NET

Sending mail with Gmail Account using c# in ASP.NET

Updated:  02/14/2011 16:02 PM
Author:  Shiju Mathews

Status:    Resolved.


When are crating applications, we need to send emails to users, or send email to administrator about the status of operation. Normally we will use one of our SMTP mail server to serve the emails.

But you can also use your Google SMTP server to send emails. You can create a new account with Gmail or you can user one of your existing account to send emails. But there are some limitation that you need to aware of.

  • Gmail will only allow you to send a fixed number of email thru their SMTP server per user.
  • Your from email address always will be your account email address which you are using for sending email.
  • your Gmail Popup and SMTP settings, both should be active in your account.

  •