diff --git a/IRaCIS.Core.Application/Service/Common/EmailLogService.cs b/IRaCIS.Core.Application/Service/Common/EmailLogService.cs index 45c061135..5dde4bd97 100644 --- a/IRaCIS.Core.Application/Service/Common/EmailLogService.cs +++ b/IRaCIS.Core.Application/Service/Common/EmailLogService.cs @@ -261,6 +261,10 @@ public class EmailLogService(IRepository _emailLogRepository, // var emailView = ConvertToEmailLogView(uid, message); var message = sentFolder.GetMessage(uid); + if (message.Date.DateTime <= startDate) + { + continue; + } var emaillog = new EmailLog { Id=NewId.NextGuid(),