How to enable outgoing mail in jira?

Pankaj April 18, 2023

Hi All,

Currently, it is showing disabled by startup flag , I am not sure how to enable this option in jira.I am using Jira sever and when i am trying to test connetion it is showing like - 

Unfortunately no connection was possible. Review the errors below and rectify:

  • SocketTimeoutException: Read timed out

 

How to fix this problem ?

19.JPG

1 answer

3 votes
Mayur Jadhav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 18, 2023

Hello @Pankaj ,

I hope you are doing well!!

as per the screenshot someone from your team has added the below parameter in Supported Argument in setenv file. You need to remove that.

-Datlassian.mail.senddisabled=true

 Follow the steps if your Jira is installed on Linux.

  1. Stopped the service.
  2. From <jira-install>/bin, open setenv.sh.
  3. Find the section JVM_SUPPORT_RECOMMENDED_ARGS=
  4. Remove the -Datlassian.mail.senddisabled=true

and If you have installed on Windows or as Windows service you may please have a look at the article 

https://confluence.atlassian.com/adminjiraserver/setting-properties-and-options-on-startup-938847831.html

 

 

Regards,
Mayur

Pankaj April 19, 2023

Hello @Mayur Jadhav ,

I have searched many times , but I didn't get setenv.bat file in bin directory.

I am using jira through "atlas-run" in command line.

Mayur Jadhav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 19, 2023

@Pankaj it will be there you need to find the out your Jira installation folder in order to open setenv.bat file.

 

  1. From <jira-install>/bin, open setenv.bat.
  2. Find the section set JVM_SUPPORT_RECOMMENDED_ARGS=

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events