The mail settings you entered were not valid. Error thrown was: com.sun.mail.util.MailConnectExcepti

Hi

No emails are getting triggered post build run. I tried entering my mail id under Mail server and go below error:

The mail settings you entered were not valid. Error thrown was: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.office365.com, 587; timeout 20000; nested exception is: java.net.SocketTimeoutException: connect timed out

 

Do let me know if I need to send other logs. Pls suggest.

 

Thanks

Manish

1 answer

1 accepted

1 vote
Accepted answer
Brian Cohen Atlassian Team Nov 20, 2017

Hi Manish,

 

You'll want to ensure that your Jira server is able to reach smtp.office365.com. The error indicates a likely network problem, perhaps a firewall is blocking the traffic? Are you using any type of proxy in your environment?

You might try using a tool like telnet smtp.office365.com 587 to see if you are able to get a connection from your Jira server to office365.

Best regards,
Brian

Hi Brian

 

yes you are correct , I opened up this port and was able to get the emails working. Thanks for your suggestion.

 

Thanks

Manish

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Dec 06, 2018 in Jira Service Desk

Looking for teams who switched from email to Jira Service Desk

The Jira Service Desk marketing team is working on a guide to help new Atlassian customers switch from email to JSD and we'd love to hear from you! Please share: - What made you realize that i...

252 views 1 6
View question

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