Affects Version/s: 7.1.X, 7.2.X, Master
The email notification are not sent successfully when configured with smtp.office365.com.
Steps to Replicate
1) Extract Liferay DXP 7.1, install dxp-14.
2) To configure SMTP
2a) Add the following properties in portal-ext.properties,
2b) Restart the server, navigate to Control Panel-> Configurations-> Mail-> Added the values for Outgoing SMTP Server
Outgoing SMTP Server : smtp.office365.com
Outgoing Port : 587
Use a Secure Network Connection : Uncheck
2c) Provide the outlook credentials. You can also follow this article to configure mail
3) Test the mail notification by creating a user, or by forget password or by creating a new event in the calendar and inviting the user. Among all these activities the below error is thrown,
Actual result: The above error is thrown and emails are not sent to the user.
Expected result: The emails should work.