I have successfully configured Outgoing mail in our Jira server using Office 365, but Bitbucket is giving problems. Our successfull settings on Jira were SSL/TLS enabled on port 25 to outlook.office365.com. The same settings in Bitbucket fail. We have tried every permutation for server outlook.office365.com:
25 – No ssl/tls – client was not authenticated to send anonymous mail
25 – ssl/tls forced – Could not convert socket to TLS
25 – ssl/tls if available – Could not convert socket to TLS
465 – No ssl/tls – The remote client has aborted the connection
465 – ssl/tls forced - Couldn't connect to host, port: outlook.office365.com, 465; timeout 30000
465 – ssl/tls if available – The remote client has aborted the connection
587 – No ssl/tls – client was not authenticated to send anonymous mail
587 – ssl/tls forced – Could not convert socket to TLS
587 – ssl/tls if available – Could not convert socket to TLS
What settings will work for Office 365?