public void SendEmail(string email, string subject, string message, string username) { GMailer.GmailUsername = "******"; GMailer.GmailPassword = "******"; GMailer mailer = new GMailer(); mailer.ToEmail = email; mailer.Subject = subject; mailer.Body = " From : " + email + "\n Name : " + username + "\n Subject : " + subject + "\n Message : " + message; mailer.IsHtml = true; mailer.SendEmail(); }