For several months, I got the following error :
“Connection could not be established with host “smtp.office365.com:587”: stream_socket_client(): unable to connect to smtp.office365.com:587 (Connection refused)”
This error appear only on my OVH server, when a make some tests on localhost, it work perfectly.
I have posted a question on the Microsoft forum and they told me that I have to contact OVH
Do you know how to solve my problem ?
Have a good day, thanks in advance