This commit is contained in:
2018-07-09 22:34:15 +00:00
parent aeb32740e7
commit 4877657011
6 changed files with 272 additions and 11 deletions

View File

@@ -42,7 +42,7 @@ namespace contact.Pages
//TODO: go to a successful submit page on the ayanova site
//return Redirect("/confirm.html");//sample quickie page I made up
return Redirect("https://ayanova.com");
return Redirect("https://ayanova.com/confirmed.htm");
}
@@ -73,7 +73,7 @@ namespace contact.Pages
using (var message = new MailMessage())
{
message.To.Add(new MailAddress(Contact.Email));
message.From = new MailAddress("noreply@ayanova.com");
message.From = new MailAddress("support@ayanova.com");
message.Subject = $"Confirmation that your question about AyaNova has been received from {Contact.Company}";
message.Body = MessageBody;