We are running 24x7 v 3.6.10 on a PC running Windows 7 Pro
This is a recently replaced PC for one that was running an earlier version of Windows. On the new PC Scheduler crashes when it attempts to send an email after a batch job has completed. The error messages are as follows:

The Exception code c0000005 is an access violation. We expect this is a matter of a settings conflict between 24x7 and MSOutlook, but we have no idea what it might be.
I am able to open outlook and send mail from the user-id that the Scheduler uses and it works fine.

Any help is appreciated.
M. Gerlach

Thu Oct 20, 2016 4:49 pm

SysOpSite Admin

Joined: 26 Nov 2006Posts: 6754

Please check if anything "interesting" appears in the scheduler's debug.log file.
In general, you shouldn't use MAPI email interface, it's inappropriate for automated jobs. you should use SMTP interface instead of MAPI.

Fri Oct 21, 2016 12:10 am

NNWaterworks

Joined: 20 Oct 2016Posts: 4Country: United States

Thank you for your prompt response.
I have set 24x7 to use SMTP and pointed it to the correct SMTP server. I set the Sender Address.
Now I am getting the attached error. The batch file has comments only, it does nothing. The function of the job is to let us know that 24x7 is still running.
This new PC is running MSOutlook Pro + 2013. The old PC had MSOutlook Pro + 2010. Are you aware of any conflicts with the new Outlook?

Fri Oct 21, 2016 11:19 am

SysOpSite Admin

Joined: 26 Nov 2006Posts: 6754

The referenced image is too small and unreadable. Please attach it again and do not select the resize option.

Fri Oct 21, 2016 1:16 pm

NNWaterworks

Joined: 20 Oct 2016Posts: 4Country: United States

Sorry. I didn't resize. My screen capture does that...

I am getting "Job started." and "Job finished." Then about 20 seconds later we get an error message that says "Notification Action Failed. The mail server does not like the sender name, have you set your mail address correctly?"

I checked with our network people, the email address is correct. ( Schedule@nnva.gov ) I am able to send mail to that address from an other machine and can send email from the 24x7 pc, without any problems or errors.

Newer info: When I run the job manually ("Run now"), the recipients do not receive an email. When 24x7 runs it automatically(by time), they do receive the email, but that Notification message still appears in the job log after about 20 seconds.

Fri Oct 21, 2016 2:07 pm

SysOpSite Admin

Joined: 26 Nov 2006Posts: 6754

If that address belong to an email group or not associated with a domain account it may cause issues with authentication. The error says that there is an issue with "sender's address" not recipients.
The server may also tie authentication to the account running the process which could be a reason for you to see different results based on how you run it.

To verify if the specified email is causing that issue, run the scheduler in interactive graphical mode using your own login, create a test job sending email with your email entered in the sender's name parameter, run it and see if that works.

Fri Oct 21, 2016 5:33 pm

NNWaterworks

Joined: 20 Oct 2016Posts: 4Country: United States

Thank you for your assistance. We figured it out. The Sender's Address was "Schedule". we changed it to "Schedule@nnva.gov"