samedi 27 avril 2019

SMTP: Change Message-ID domain in sending emails from Laravel 5.7 (Swift Mailer)

Laravel 5.7 sends emails using Swift Mailer.

By default, all sent emails will have the Message-ID header with the domain swift.generated (eg. Message-ID: <90b9835f38bb441bea134d3ac815dd6f@swift.generated>).

I would like to change the domain swift.generated to for example my-domain.com.

How can I change this for all emails?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire