From 80abc576dc5deff9d09e6374adce18943491b39c Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Wed, 30 Sep 2026 10:23:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=91=84=E5=83=8F=E5=A4=B4=E9=A2=84=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/mail.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/config/mail.php b/config/mail.php index 505d35d..92f30b7 100644 --- a/config/mail.php +++ b/config/mail.php @@ -35,13 +35,15 @@ return [ 'mailers' => [ 'smtp' => [ - 'transport' => 'smtp', - 'url' => null, - 'host' => env('MAIL_HOST', 'smtp.exmail.qq.com') - 'port' => env('MAIL_PORT', 465), - 'encryption' => env('MAIL_ENCRYPTION', 'ssl'), - 'username' => env('MAIL_USERNAME'), - 'password' => env('MAIL_PASSWORD'), + transport' => 'smtp', + 'url' => null, + 'host' => env('MAIL_HOST', 'smtp.exmail.qq.com'), + 'port' => (int) env('MAIL_PORT', 465), + 'encryption' => env('MAIL_ENCRYPTION', 'ssl'), + 'username' => env('MAIL_USERNAME'), + 'password' => env('MAIL_PASSWORD'), + 'timeout' => null, + 'local_domain' => env('MAIL_EHLO_DOMAIN'), ], 'ses' => [