From d9f4dad7a52bad2bda36244bfcd5039c8edaf54f Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Wed, 30 Sep 2026 10:29:36 +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 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/config/mail.php b/config/mail.php index df6df69..8a3f3fd 100644 --- a/config/mail.php +++ b/config/mail.php @@ -34,12 +34,11 @@ return [ */ 'mailers' => [ - 'smtp' => [ - 'transport' => 'smtp', + 'transport' => 'smtp', 'url' => null, - 'host' => env('MAIL_HOST', 'smtp.exmail.qq.com'), - 'port' => (int) env('MAIL_PORT', 465), - 'encryption' => env('MAIL_ENCRYPTION', 'ssl'), + 'host' => 'smtp.exmail.qq.com', + 'port' => 465, + 'encryption' => 'ssl', 'username' => env('MAIL_USERNAME'), 'password' => env('MAIL_PASSWORD'), 'timeout' => null,