[HttpPost]
public ActionResult Contact(string name, string subject, string contact, string company, string email, string message)
{
subject = " ABC ";
var mailMessage = new System.Net.Mail.MailMessage();
mailMessage.To.Add(email);
mailMessage.IsBodyHtml = true;
mailMessage.Subject = subject + "";
var smtpClient = new SmtpClient { EnableSsl = true };
smtpClient.Send(mailMessage);
ViewBag.Message2 = "Mail Sent Successfully, Thanks for contact !";
return View();
}