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,