Hi,
I have a job that monitors an email account and when a certain email arrives if saves the attachment onto a server. The job works fin but i'm finding the email trigger keeps deactivating itself. I've found this in the log file:
06/09/2017 05:05:14 Debug Retrieving mail: i= 29
06/09/2017 05:05:14 Debug Retrieved mail: UID= 189
06/09/2017 05:05:14 Debug Mail Trigger: Id: 189 did already exist in checkedIds.
06/09/2017 05:05:15 Debug oClient.Quit
06/09/2017 05:05:15 Err Error occured: Error in Mail Trigger (3), ex: System.NullReferenceException: Object reference not set to an instance of an object.
at EAGetMail.MailClient.$=(Byte[] 4], Boolean 4])
at EAGetMail.MailClient.Quit()
at OBOKIIHBDBPMCFALPGECCIFHCDJPEDKODDGK.KEMLEDMDNELBHFFOFDEDHAAKAHOPFGNIJMEI.MCJFOMFKCEOBMBPKDAOADFMPPKNLHIJFCJDG(Object ) in C:\sourcefiles\code\VisualCronService\Triggers\Events\Mail\clsEventMail.vb:line 536, oClient null = False - exiting/deactivating Trigger (retries left: 0)
06/09/2017 05:05:15 Debug Mail trigger event has been ended, trigger: email monitor for sms.knh
06/09/2017 05:05:15 Debug Mail trigger event has been ended, trigger: email monitor for sms.knh
06/09/2017 05:05:15 Err Trigger error: Error in Mail Trigger (3), ex: System.NullReferenceException: Object reference not set to an instance of an object.
at EAGetMail.MailClient.$=(Byte[] 4], Boolean 4])
at EAGetMail.MailClient.Quit()
at OBOKIIHBDBPMCFALPGECCIFHCDJPEDKODDGK.KEMLEDMDNELBHFFOFDEDHAAKAHOPFGNIJMEI.MCJFOMFKCEOBMBPKDAOADFMPPKNLHIJFCJDG(Object ) in C:\sourcefiles\code\VisualCronService\Triggers\Events\Mail\clsEventMail.vb:line 536, oClient null = False
06/09/2017 05:05:15 Err Trigger error: Error in Mail Trigger (3), ex: System.NullReferenceException: Object reference not set to an instance of an object.
at EAGetMail.MailClient.$=(Byte[] 4], Boolean 4])
at EAGetMail.MailClient.Quit()
at OBOKIIHBDBPMCFALPGECCIFHCDJPEDKODDGK.KEMLEDMDNELBHFFOFDEDHAAKAHOPFGNIJMEI.MCJFOMFKCEOBMBPKDAOADFMPPKNLHIJFCJDG(Object ) in C:\sourcefiles\code\VisualCronService\Triggers\Events\Mail\clsEventMail.vb:line 536, oClient null = False
06/09/2017 05:05:15 Debug Trigger was expired and inactivated
Can anyone advise what's happening?
Thanks