diff --git a/config/mail.php b/config/mail.php index 10afa09e7f..d521625b6b 100644 --- a/config/mail.php +++ b/config/mail.php @@ -39,7 +39,7 @@ return [ 'smtp' => [ 'transport' => 'smtp', 'host' => env('MAIL_HOST', 'smtp.mailtrap.io'), - 'port' => env('MAIL_PORT', 2525), + 'port' => (int) env('MAIL_PORT', 2525), 'encryption' => env('MAIL_ENCRYPTION', 'tls'), 'username' => env('MAIL_USERNAME'), 'password' => env('MAIL_PASSWORD'),