This commit is contained in:
2020-07-13 18:37:12 +00:00
parent e84b5b6bd5
commit 2bbcdb040c
4 changed files with 70 additions and 15 deletions

View File

@@ -116,6 +116,19 @@ namespace GZTW.AyaNova.BLL
RootObjectTypes.Nothing, Guid.NewGuid(),
0, User.AdministratorID, false, Guid.Empty,
NotifyDeliveryMethods.SMTP, ErrorMessage, DBUtil.CurrentWorkingDateTime, Guid.Empty));
}
//case 3808
public static void LogSMTPDeliveryMessage(string Message)
{
if (Message.Length > 500) Message = Message.Substring(Message.Length - 500);
//not a delivery or not necessarily so setting delivered to true just so it
//doesn't appear as an error
DataPortal.Update(new NotifyDeliveryLog(
RootObjectTypes.Nothing, Guid.NewGuid(),
0, User.AdministratorID, true, Guid.Empty,
NotifyDeliveryMethods.SMTP, Message, DBUtil.CurrentWorkingDateTime, Guid.Empty));
}