case 4310

This commit is contained in:
2022-11-21 01:22:31 +00:00
parent b9f80c6143
commit 36678e92b8
9 changed files with 16 additions and 7 deletions

View File

@@ -338,6 +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);
}
catch (Exception ex)
{