diff --git a/IRaCIS.Core.Application/Service/Common/EmailLogService.cs b/IRaCIS.Core.Application/Service/Common/EmailLogService.cs index 0aee97137..45c061135 100644 --- a/IRaCIS.Core.Application/Service/Common/EmailLogService.cs +++ b/IRaCIS.Core.Application/Service/Common/EmailLogService.cs @@ -267,7 +267,7 @@ public class EmailLogService(IRepository _emailLogRepository, UniqueId = uid.ToString(), MessageId = message.MessageId ?? string.Empty, EmailSubject = message.Subject ?? string.Empty, - EmailDate = message.Date.UtcDateTime, + EmailDate = message.Date.DateTime, EmailStateEnum = EmailState.Success, }; @@ -287,9 +287,9 @@ public class EmailLogService(IRepository _emailLogRepository, { RecipientName = x.Name ?? string.Empty, RecipientAddress = x.Address, - EmailLogId= emaillog.Id, + EmailLogId = emaillog.Id, RecipientTypeEnum = RecipientType.To, - Sort= sort++, + Sort = sort++, }); }); sort = 0;