From 1039aecdd2bbbab60082b06a8498281883455479 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Wed, 30 Sep 2026 10:54:11 +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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/mail.php b/config/mail.php index 7529216..703c86c 100644 --- a/config/mail.php +++ b/config/mail.php @@ -35,7 +35,8 @@ return [ 'mailers' => [ 'smtp' => [ - // 生产环境固定使用腾讯企业邮箱,避免服务器残留 Mailpit 配置覆盖 SMTP。 + // 生产环境固定使用腾讯企业邮箱;url 必须为 null,避免 MAIL_URL 或残留 Mailpit 配置覆盖 SMTP。 + // 用户名和密码仍从 .env 读取,执行 config:cache 后也会写入缓存配置。 'transport' => 'smtp', 'url' => null, 'host' => 'smtp.exmail.qq.com',