Error when sending mail notifications

Edward Snowden April 8, 2018

Hi,

I am getting the error message:

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

When Bamboo is trying to send notifications.

Any help?

Thanks

1 answer

1 accepted

0 votes
Answer accepted
robhit
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 8, 2018

Hi Edward,

The message hints us at the connectivity issue. You could check the following to troubleshoot:

  • Check if the port 587 is correct and open.
  • Test the connectivity using the telnet command:
    telnet smtp.office365.com 587

Thanks,

Robhit

Edward Snowden April 9, 2018

Hi @robhit,

Thanks! It was indeed related to the port issue.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events