Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Check your Jira email configuration before you start creating notifications

  1. Ensure you've properly configured an SMTP Server. Send a Test Mail inside the SMTP Server configuration setup screen. Make a note of any error that is returned from the test;

  2. Check your Jira application log files and the application server log files for Out of Memory errors. Typically, the log file will show java.lang.OutOfMemoryError: Java heap space. This has been known to cause the service responsible for sending emails out to fail until Jira applications are restarted. You should further troubleshoot your memory issues using this guide;

  3. Check and ensure the Mail Queue Service is installed. Click Administration –> Services to inspect that the service exists, and is set at a reasonable interval. This interval controls how frequently the mail queue is processed. You can flush the mail queue to send out pending messages immediately to your mail server;

  4. Inspect your Mail Queue under Administration –> Mail Queue. See if you are given the option to Bypass currently sending mail. A stuck email or trackback ping can hold up the queue;

  5. Check that your base URL is set to a domain / IP which your SMTP server will accept. Example: Google apps accounts must have a matching base URL to their Google Apps domain; 

  6. Enable additional logging in Administration –> System –> Troubleshooting and Support –> Logging and Profiling by setting the following to DEBUG to see more robust logging about services running at the background:

    1. com.atlassian.jira.service

    2. com.atlassian.jira.service.services.DebugService

Add SMTP Mail Server on your Jira instance

...