I've looked all over and I can't seem to find an answer as to whether or not sending an email using GMail is possible.
I have the following code below, I also have my anitviruse and firewall disabled.
protected void cmd_SendEmail(object sender, EventArgs e)
{
MailMessage mail = new MailMessage();
mail.To.Add("test@yahoo.com");
mail.From = new MailAddress("mygmail@gmail.com");
mail.Subject = "Email using Gmail";
string Body = "Hi, this mail is to test sending mail" +
"using Gmail in ASP.NET";
mail.Body = Body;
mail.IsBodyHtml = true;
SmtpClient smtp = new SmtpClient();
smtp.Host = "smtp.gmail.com"; //Or Your SMTP Server Address
smtp.Credentials = new System.Net.NetworkCredential
("email address", "password");
smtp.Port ...
Go to the complete details ...