How To Debug Email Errors and Issues

  Print
First off, make sure you've configured your mail settings. If you've never configured them, mail will not work at all. In Report Runner Batch, go to your Global Options/Settings, and click the Mail tab. Follow the instructions and TEST your mail settings. Here is a video on configuring your mail settings in Report Runner Batch:

https://help.jeff-net.com/knowledgebase/article/video-configuring-mail-settings-and-running-a-batch-to-send-a-mail

In Report Runner Viewer, you configure your mail settings from the viewer window (click on Mail the Report, Settings).

---

Note, before reading through the various topics below, first, go back and check/TEST your mail settings. In Report Runner Batch, when you test your mail settings, the software looks for specific errors and provides feedback and alternatives.

---

So you've configured mail or are trying to configure your mail and getting errors. Here is a list of errors/problems with sending mail and how to fix them:

#1

Problem: Exchange server will not send mail.

Answer: Make sure you're NOT entering an ID and Password for your settings. Most Exchange servers do not require this and (for whatever reason) do not work even if the ID and password are correct. If you've already done that and mail will still not send, make sure your Exchange server is configured to allow for mail via SMTP.

#2

Problem: Login settings seem correct, but mail will still not send.

Answer: You probably have a firewall or anti-virus type software that is blocking our software from sending mail and/or connecting to your mail server. In the log file, after the email error, you'll see a Chilkat log displayed. Look for "WSAEWOULDBLOCK" message in the log file. That indicates the mail server is being purposely blocked. Norton Anti-Virus and McAfee are notorious for blocking port 25 and showing no indication that it's doing so. Your server may also not want the default port of 25 used. Some mail servers (like GMAIL) send mail via port 587.

#3

Problem: Mail sends in Report Runner Batch when I test the mail settings or run the batch manually, but it fails when it's scheduled.

Answer: The Windows Scheduler does not have access to send mail on your server. You might try scheduling the batch using your Windows ID and password and not the System account. If that doesn't correct the issue, speak with your mail administrator to make sure Windows Services are not blocked from accessing the mail server.

#4

Problem: A long running batch sends mail out just fine for multiple jobs then errors out.

Answer: While not common at all, we do occasionally see mail servers stop responding to our software. Not sure if the mail server "thinks" it is being spammed and stops or what. Either way, this is not a bug in our software. All email is sent the exact same way. There is not a bug in our software that suddenly stops working with your mail server. Additionally note, Report Runner Batch will automatically retry sending mail 5 times before failing (pausing 30 seconds between attempts).

#5

Problem: A long running bursting batch fails due to a bad or missing email address

Answer: In your batch-specific INI settings, add the setting to [Options] group of NoFailOnBurst=YES. If you do this, be sure and add the End of Batch Notification Report to your batch, and set the output options to Mail and PDF (and email yourself). This will attach a status report and any bursting errors that occur will be attached as well in a separate log file so you know which bursting values had bad email addresses (and you can fix and rerun manually).

#6

If none of the issues above resolve the problem, speak with your email administrator and let them know what's not working. They should have access to mail logs/security logs that show our software trying to send mail and why it's not being allowed.

---

Other Articles of Note and References:

McAfee Blocking Port 25:

https://kc.mcafee.com/corporate/index?page=content&id=KB50707

https://www.google.com/search?q=mcafee+blocking+port+25

Norton Blocking Port 25:

http://www.symantec.com/connect/forums/blocking-outgoing-smtp-port-25-sep

https://www.google.com/search?q=norton+blocking+port+25

External Mail Addresses Will Not Send:

https://help.jeff-net.com/knowledgebase/article/mail-issue-external-email-addresses-will-not-relay

How To Configure Your GMAIL Settings:

https://help.jeff-net.com/knowledgebase/article/how-do-i-set-up-my-gmail-smtp-server

How To Configure Your Office 365 Settings:

https://help.jeff-net.com/knowledgebase/article/how-do-i-set-up-my-office365-smtp-server





Related Articles

Login

 
Forgot password?
Register now

Language