It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

confluence mail send timeout

I have JIRA (6.3.1) and Confluence (5.6.5) running on the same host. I am using gmail for my email server (smtp.gmail.com:465 with TLS enabled). Sending email from JIRA works fine, but Confluence generates the error below. I don't think this is an issue with the mail server or the network since the exact same settings work for JIRA from the same machine. Is there something else that could be causing this?

 

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.confluence.jmx.JmxSMTPMailServer.doSendWithMessageIdSupport(JmxSMTPMailServer.java:143)

 

2 answers

I was able to solve this problem by adding a JNDI mail resource as described here:

https://confluence.atlassian.com/display/DOC/Setting+Up+a+Mail+Session+for+the+Confluence+Distribution

Configuring the mail server using the Confluence UI did not work.

Thanks! I had the exact same issue and that worked for me too!

Maybe this is a bit late, but i was facing the exact same issue and found this article.

The solution for me was to change the port to 587 and it worked.

Thank you. I changed the port from 456 to 587, and it worked for me as well.

Worked for me too.... Thanks!

You save my day. Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

327 views 9 7
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you