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
Followed following KB article but could not get specific solution:
Do let me know if I need to send other logs. Pls suggest.
Looking at your error, it seems like a connectivity issue or configuration issue to me because "connect timed out"
You can test the mail using the CMD or terminal by command "telnet"
telnet smtp.office365.com 587
See if you can establish the connectivity from the machine where bamboo is hosted.
There is a difference between Ping and telnet.
Ping: check connection (knock on the door of the remote server).
Telnet: gives access to the remote system if it is running telnet daemon.
And while using port 587 ping throws the error because it does not support that parameter.
Try executing the telnet command which I shared earlier. This will test the connectivity between your bamboo machine and the SMTP server if the port 587 which you are using is correct or open or not
Hi Robhit, With help of our IT team we were able to open port 587 and now mails are getting triggered. Thank you so much for suggesting this approach. You may pls go ahead and close this incident and send me survey link if possible.
You are five star bamboo guy!!
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...
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!
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