From 5be33cdad6d0c33016973d3d1ca0af7fa2c5fa8e Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 13 Jul 2018 03:36:40 +0000 Subject: [PATCH] --- Pages/Contact.cshtml.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Pages/Contact.cshtml.cs b/Pages/Contact.cshtml.cs index f4f88dd..b82e8ec 100644 --- a/Pages/Contact.cshtml.cs +++ b/Pages/Contact.cshtml.cs @@ -63,6 +63,13 @@ namespace contact.Pages smtpClient.Host = "mail.ayanova.com"; smtpClient.Port = 2525; smtpClient.UseDefaultCredentials = false; + //testing + // smtpClient.EnableSsl=true; + // smtpClient.Port=465; + // smtpClient.DeliveryMethod= SmtpDeliveryMethod.Network; + + + //NOTE: Do not use the noreply email address to send mail, it crashes the server somehow //******************************************************************************************************************