From d0a6445fc3cf100b5486a39aaaea3d25244b3eb1 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 10 Jul 2018 00:08:47 +0000 Subject: [PATCH] --- Pages/Contact.cshtml.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Pages/Contact.cshtml.cs b/Pages/Contact.cshtml.cs index 53a4665..f4f88dd 100644 --- a/Pages/Contact.cshtml.cs +++ b/Pages/Contact.cshtml.cs @@ -64,7 +64,16 @@ namespace contact.Pages smtpClient.Port = 2525; smtpClient.UseDefaultCredentials = false; //NOTE: Do not use the noreply email address to send mail, it crashes the server somehow + + //****************************************************************************************************************** + //****************************************************************************************************************** + //TEST CRASH + // smtpClient.Credentials = new System.Net.NetworkCredential("noreply@ayanova.com", "91768700489f8edd28aa71e3e0f4073eba54ce83c4c1a6a910700fa94094ddfd"); + smtpClient.Credentials = new System.Net.NetworkCredential("webmaster@ayanova.com", "c63c17add818fca81cae71a241ea1b552675a86280b7e7e45d36cbf2e8f3bc0e"); + //****************************************************************************************************************** + //****************************************************************************************************************** + smtpClient.Send(message); } }