im a noob and i would like to have a app with a form to send emails,
this is the code I want to Modify:
var mailMessage = new MvcMailMessage {
Subject = "welcome" };
mailMessage.To.Add("windchester**2@gmail.com");
PopulateBody(mailMessage, viewName: "Welcome");
return mailMessage;
so the Subject, body and the Mail.message.To.Add info should come from a form,
can you guide me in the right direction?