Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

need help to configure email notification, i am new to this JIRA

Ramakrishna Kosuru. September 9, 2018

need help to configure email notification,  i am new to this JIRA

1 answer

0 votes
Jack Brickey
Community Champion
September 9, 2018

@Ramakrishna Kosuru., in looking at recent posts from you they all seem to be on this same topic. Please elaborate on the following:

  1. are you on Server or Cloud?
  2. what documentation have you reviewed on this subject?
  3. what specific issues are you having?
Ramakrishna Kosuru. September 9, 2018

Please find below answers:

1. Server

2. https://confluence.atlassian.com/adminjiraserver073/configuring-an-smtp-mail-server-to-send-notifications-947188061.html

3. even test connection is also not working, unable to send any notification, any alert to my users.

its like non communicate mode of JIRA

Jack Brickey
Community Champion
September 9, 2018

Thanks for the answers. Have you reviewed the input from Nic on this thread? Does the “Test Connection” fail?

Ramakrishna Kosuru. September 9, 2018

Hi Jack,

 

thanks for responding,

yes i followed as he mentioned, but still getting some error.

java.net.ConnectException: Connection timed out

Ramakrishna Kosuru. September 9, 2018

Hi Jack,

 

when i am using my gmail SMTP, and its login details i am getting below error

An error has occurred with sending the test email:
com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. o124-v6sm8451462qkd.61 - gsmtp

can you please help me on this

Rambabu Patina _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 9, 2018

Hi @Ramakrishna Kosuru.,

The problem might be due to the 'JNDI SMTP resource configuration' as per the exception you are getting. Please turn on the property 'mail.smtp.starttls.enable' and see this article for detailed steps.

Thanks,
Ram.

Ramakrishna Kosuru. September 10, 2018

Hi Ram,

 

i tried to add below snippet at /opt/atlassian/jira/conf/server.xml 

but still i am getting same error,

can you pls suggest is that file we need to modify? there is no below snippet in server.xml before i added.

<Resource name="mail/SmtpServer"
    auth="Container"
    type="javax.mail.Session"
    mail.smtp.host="mail.mycompany.com"
    mail.smtp.port="587"
    mail.smtp.auth="true"
    mail.smtp.user="jira@mycompany.com"
    password="mypassword"
    mail.smtp.starttls.enable="true"
    mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory"
/>
Ramakrishna Kosuru. September 10, 2018

snippet updated with my credentials with port number 25

Jack Brickey
Community Champion
September 10, 2018

sorry for delays here. i'm really slammed at work today. I think @Rambabu Patina _Appfire_ suggestion might be on the right track. Will check back in later.

Rambabu Patina _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 10, 2018

@Ramakrishna Kosuru. Yes your path is correct (i.e /opt/atlassian/jira/conf/server.xml). The <Resource /> node should be inserted inside the <Context/> node and restart the jira to reflect the changes.

Suggest an answer

Log in or Sign up to answer