Emails-old - Les emails ne partent pas de mon app web depuis l'hébergement OVH
... / Les emails ne partent pas...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Frage

Les emails ne partent pas de mon app web depuis l'hébergement OVH

Von
JOFFREYN
Erstellungsdatum 2018-04-24 15:44:26 (edited on 2024-09-04 11:32:35) in Emails-old

Bonjour,

j'ai une application symfony qui utilise swift mailer pour envoyer des emails (inscription, mot de passe perdu...).
Le serveur email est sur le même hébergement que l'application.
J'ai configuré le transport SMTP comme ceci : smtp://monadresse@mondomaine.fr:monMotDePasse@SSL0.OVH.NET:465/?encryption=ssl

Lorsque je teste la même config depuis ma machine locale, le mail est bien envoyé.
Lorsque je teste depuis l'appli en ligne (hébergée chez OVH), le mail ne part pas.

Une idée ?

Merci.

Bonne journée.
Bien cordialement,
Joffrey


1 Antwort ( Latest reply on 2021-09-16 17:48:55 Von
janus57
)

Bonjour,

sur les mutu il faut utiliser la fonction mail() pour ne pas être bloqué par les limitation d’envois par IP.

Cordialement, janus57