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' => [