JIRA is Still Sending Emails Even Though the atlassian.mail.senddisabled=true Flag is Set to True

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

Adding the flag -Datlassian.mail.senddisabled=true to the JVM should prevent JIRA to send any notification. However, JIRA still sends emails.

Cause

Some JVM flags will not be read properly if there is a trailing space at the end of the flag. Also, some particular applications require a separate line for each JVM flag.

Resolution

  1. Use separate lines for each mail flag as some particular applications require to use a separate line for each JVM argument

  2. If each JVM flag is separated by each new line, eliminate any trailing spaces after each flag. In other words, make sure that there is no space after the flag -Datlassian.mail.senddisabled=true

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.