From aad5484342500a469c539192a25e10aedcab6d17 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 21 Nov 2022 01:23:48 +0000 Subject: [PATCH] --- server/AyaNova/Controllers/NotifyController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/AyaNova/Controllers/NotifyController.cs b/server/AyaNova/Controllers/NotifyController.cs index 2fd5afa1..4b23972e 100644 --- a/server/AyaNova/Controllers/NotifyController.cs +++ b/server/AyaNova/Controllers/NotifyController.cs @@ -338,7 +338,7 @@ namespace AyaNova.Api.Controllers try { await m.SendEmailAsync(notifyDirectSMTP.ToAddress, notifyDirectSMTP.Subject, notifyDirectSMTP.TextBody, ServerGlobalOpsSettingsCache.Notify, null, null, notifyDirectSMTP.HTMLBody); - await EventLogProcessor.LogEventToDatabaseAsync(new Event(UserId, notifyDirectSMTP.ObjectId, notifyDirectSMTP.AType, AyaEvent.DirectSMTP, $"{notifyDirectSMTP.Subject}->{notifyDirectSMTP.ToAddress}"), ct); + await EventLogProcessor.LogEventToDatabaseAsync(new Event(UserId, notifyDirectSMTP.ObjectId, notifyDirectSMTP.AType, AyaEvent.DirectSMTP, $"\"{notifyDirectSMTP.Subject}\"->{notifyDirectSMTP.ToAddress}"), ct); } catch (Exception ex) {