From 14b6505bbabe0a5dede5a853508ca61fa35781cd Mon Sep 17 00:00:00 2001 From: Bram in 't Zandt Date: Wed, 4 May 2022 16:05:31 +0200 Subject: [PATCH] Update mail.php (#5877) Add `local_domain` as an option to the smtp configuration. This can be used to change the domain that is used to send the `EHLO` command during the SMTP handshake. `null` is a sensible default since Symfony/Mailer will use it's own default (`127.0.0.1`) to send the mail. Co-authored-by: Bram in 't Zandt --- config/mail.php | 1 + 1 file changed, 1 insertion(+) diff --git a/config/mail.php b/config/mail.php index 11bfe7e1..534395a3 100644 --- a/config/mail.php +++ b/config/mail.php @@ -42,6 +42,7 @@ 'username' => env('MAIL_USERNAME'), 'password' => env('MAIL_PASSWORD'), 'timeout' => null, + 'local_domain' => env('MAIL_EHLO_DOMAIN'), ], 'ses' => [