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 //******************************************************************************************************************