This commit is contained in:
@@ -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));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user