No connection to SMTP from cloud web server

We are migrating several services from a dedicated server to a web‑hosting plan and we cannot send email from PHP using SMTP; the connection to smtp.mail.ovh.net:465 or ssl0.ovh.net:465 is blocked.

Sending with mail() works only from one of the hosted domains, and it isn’t the method we want to use.

We have opened ticket CS17053423, but I assume we won’t get a response until Monday, which leaves us without the weekend window to get everything up and running.

Hello @DTL

I recommend that you take a look at this documentation:

https://docs.ovhcloud.com/es/guides/web-cloud/web-hosting/email-sending-best-practices

Kind regards,
Sergio Turpín

Thanks, I've already reviewed that documentation; the problem is that the socket connection to ssl0.ovh.net on port 465 doesn't connect. It times out, as if the port were blocked by a firewall rule.