Why I cannot send email from JIRA?

Hi,

Configured JIRA to send email but when testing the sendmail feature I'm presented with the following log:

 

An error has occurred with sending the test email:
com.atlassian.mail.MailException: javax.mail.MessagingException: Exception reading response;
nested exception is:
java.net.SocketTimeoutException: Read timed out
at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:214)
at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:151)
....a lot more

1 answer

0 votes

Hi Christian,

The behavior that you're seeing may be covered in Read timed out error when sending outbound mail from JIRA applications

 

The resolution would be to Increase the time out value for the mailbox.  Take a look at Configuring JIRA's SMTP Mail Server to Send Notifications to see how to do this. The recommendation is to increase the value in increments of 10000 until you don't run into the issue anymore.

Take a look at Read timed out error when sending outbound mail from JIRA applications for more information about the causes and some more suggestions.

 

Cheers,

Branden

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

1,750 views 14 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you