I cannot connect to the Microsoft server and receive the following error: Unable to connect to ssl://smtp.office365.com:587

I cannot connect to the Microsoft server and receive the following error: Unable to connect to ssl://smtp.office365.com:587

First, it is important to make sure that the correct port and connection type are set in the module's configuration. Kindly note that for port 587 TLS connection type should be used according to Microsoft documentation.

Therefore, please, navigate to Amasty > SMTP > Configuration and in SMTP Configuration review the Port and Connection Security settings:



If the issue persists, please contact our Support Team for further troubleshooting.