From 273be34c9822eb007ca77fd965638846fdcd54c6 Mon Sep 17 00:00:00 2001 From: James Kolpack Date: Thu, 24 Jun 2021 10:45:09 -0400 Subject: [PATCH] Update smtp configuration --- Web/Email/EmailNotification.cs | 3 ++- Web/Properties/PublishProfiles/ETHRA.pubxml | 2 +- Web/Web.Release.config | 2 +- Web/Web.config | 6 +++--- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Web/Email/EmailNotification.cs b/Web/Email/EmailNotification.cs index e64a7a2..e48e539 100644 --- a/Web/Email/EmailNotification.cs +++ b/Web/Email/EmailNotification.cs @@ -71,7 +71,8 @@ namespace MileageTraker.Web.Email } catch (SmtpException ex) { - Logger.Error(ex, "Failed to send mail"); + + Logger.Error(ex, $"Failed to send mail. Status Code: {ex.StatusCode}. Message: {ex.Message}"); } } } diff --git a/Web/Properties/PublishProfiles/ETHRA.pubxml b/Web/Properties/PublishProfiles/ETHRA.pubxml index f05c3bb..7162832 100644 --- a/Web/Properties/PublishProfiles/ETHRA.pubxml +++ b/Web/Properties/PublishProfiles/ETHRA.pubxml @@ -7,7 +7,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt Package - C:\Users\poprhythm\Documents\code\PublishPackages\MileageTraker.zip + C:\Users\james\source\PublishPackages\MileageTraker.zip true Default Web Site diff --git a/Web/Web.Release.config b/Web/Web.Release.config index b3683ff..811f278 100644 --- a/Web/Web.Release.config +++ b/Web/Web.Release.config @@ -34,7 +34,7 @@ - + diff --git a/Web/Web.config b/Web/Web.config index 50a04b8..221b83a 100644 --- a/Web/Web.config +++ b/Web/Web.config @@ -14,17 +14,17 @@ - + - + - +