The following code can be used to send email using C#. For the time being we will use Gmail SMTP server to send an email. The namespace we are going to use for preparing a mail is System.Net.Mail. Google allows an application to send an email directly from a Gmail user's account. The email Id of the user and the corresponding password will be used as credentials to establish a secure connection with the Gmail SMTP server. So you have to start by getting a Gmail account. Once you own a Gmail acccount, you can make your application sending mails like it is having its own SMTP server. using System; using System.Collections.Generic; using System.Web; using System.Net.Mail; namespace Mailing { public class Mail { private string _host; private int _port; private string _frommail; private string _fro...