I have upgraded my jria to jira 4.4.5. I have configured new smtp server. Verified a test email as well and then sent and email to a group all worked fine. But when I create a ticket emails are stuck in queue. In mail Queue as shown in image I can see a Warning: Sending mail is disabled
From where I can enable this?
Many thanks in advance.
Soh
As a follow up to pjesi's post, in my SDK I added the systemPropertyVariables in the pom.xml as below and it worked:
<build>
<plugins>
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>maven-jira-plugin</artifactId>
<version>3.7.2</version>
<extensions>true</extensions>
<configuration>
<productVersion>${jira.version}</productVersion>
<productDataVersion>${jira.version}</productDataVersion>
<systemPropertyVariables>
<atlassian.mail.senddisabled>false</atlassian.mail.senddisabled>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
The problem is that this does not work with atlas-run-standalone
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It was disabled from
JAVA_OPTS="-Datlassian.mail.senddisabled=true
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
how did you enable it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can run it as atlas-run-standalone --product jira --jvmargs '-Datlassian.mail.senddisabled=false'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Andrew Zakordonets's comment should be an accepted answer. Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I run this, all I have is Jira Core, anyway to run this and get Jira Software?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just an update for anyone new coming to this question, in the latest JIRA there is way to disable outgoing mail from the UI.
Navigate to the outgoing mail configuration panel, and ensure that outgoing mail is enabled.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was using the SDK and it didn't work there. But I managed to get it to work by adding as <systemPropertyVariables> in pom.xml
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
The solution above works running the command atlas-debug? I put the following code
<systemPropertyVariables>
<atlassian.mail.senddisabled>false</atlassian.mail.senddisabled>
</systemPropertyVariables>
in the pom.xml (the pom.xml of the plugin that I'm developing) but when I go to the Administration > Outgoing Mail, a message is displayed in the top of the page.
Outgoing mail was disabled with the -Datlassian.mail.senddisabled=true JVM argument before JIRA was started. JIRA cannot send email until you remove the JVM argument and restart JIRA
Anyone has a solutions for this? I'm using the sdk 6.2.14, with jira 7.2.2.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found a way to do that: execute the command
atlas-debug --jvmargs -Datlassian.mail.senddisabled=false
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.