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
I was able to solve this problem by adding a JNDI mail resource as described here:
Configuring the mail server using the Confluence UI did not work.
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