Bonjour,
Mon site internet envoie automatiquement un mail à l'inscription etc. ça fonctionnait bien mais depuis aujourd'hui (ou hier?) j'ai une erreur. J'ai codé le site avec Symfony 5 et j'utilise Swiftmailer, je n'ai pas fait de mises à jours, donc je pense que le problème vient d'OVH.
Voici ma config :
MAILER_URL=smtp://SSL0.OVH.NET:465?encryption=ssl&auth_mode=login&username=ne-pas-repondre%40livro.fr&password=??????
L'erreur que j'ai dans les logs symfony :
request.CRITICAL: Uncaught PHP Exception Swift_TransportException: "Connection could not be established with host SSL0.OVH.NET :stream_socket_client(): Failed to enable crypto" at /home/livro/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php line 269 {"exception":"[object] (Swift_TransportException(code: 0): Connection could not be established with host SSL0.OVH.NET :stream_socket_client(): **Failed to enable crypto** at /home/livro/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:269)"} []
"Connection could not be established with host SSL0.OVH.NET :stream_socket_client(): **Failed to enable crypto"
J'ai régénéré les certificats SSL dans le doute mais le problème est toujours présent.
Pour info je suis sur un hébergement mutualisé.