diff --git a/config/mail.php b/config/mail.php index ff065be..7529216 100644 --- a/config/mail.php +++ b/config/mail.php @@ -34,17 +34,17 @@ return [ */ 'mailers' => [ - 'smtp' => [ - 'transport' => 'smtp', - 'url' => null, - 'host' => 'smtp.exmail.qq.com', - 'port' => 465, - 'encryption' => 'ssl', - 'username' => env('MAIL_USERNAME'), - 'password' => env('MAIL_PASSWORD'), - 'timeout' => null, - 'local_domain' => env('MAIL_EHLO_DOMAIN'), -] + 'smtp' => [ + // 生产环境固定使用腾讯企业邮箱,避免服务器残留 Mailpit 配置覆盖 SMTP。 + 'transport' => 'smtp', + 'url' => null, + 'host' => 'smtp.exmail.qq.com', + 'port' => 465, + 'encryption' => 'ssl', + 'username' => env('MAIL_USERNAME'), + 'password' => env('MAIL_PASSWORD'), + 'timeout' => null, + 'local_domain' => env('MAIL_EHLO_DOMAIN'), ], 'ses' => [