diff --git a/.env.example b/.env.example index 85c538ef..9ef5bf75 100644 --- a/.env.example +++ b/.env.example @@ -20,6 +20,7 @@ MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ADDRESS=null MAIL_NAME=null +MAIL_ENCRYPTION=tls REDIS_HOST=null REDIS_DATABASE=null diff --git a/config/mail.php b/config/mail.php index 3588fece..d0584d7d 100644 --- a/config/mail.php +++ b/config/mail.php @@ -76,7 +76,7 @@ return [ | */ - 'encryption' => 'tls', + 'encryption' => env('MAIL_ENCRYPTION', 'tls'), /* |--------------------------------------------------------------------------