From eb8085cf77bc5165d1af0b90bd9cdfb406d65299 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Fri, 13 Dec 2024 21:57:40 +0800 Subject: [PATCH] [11.x] Update `config/mail.php` with supported configuration (#6506) Signed-off-by: Mior Muhammad Zaki --- .env.example | 2 +- config/mail.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index a1b3de4cd..6fb3de652 100644 --- a/.env.example +++ b/.env.example @@ -49,11 +49,11 @@ REDIS_PASSWORD=null REDIS_PORT=6379 MAIL_MAILER=log +MAIL_SCHEME=null MAIL_HOST=127.0.0.1 MAIL_PORT=2525 MAIL_USERNAME=null MAIL_PASSWORD=null -MAIL_ENCRYPTION=null MAIL_FROM_ADDRESS="hello@example.com" MAIL_FROM_NAME="${APP_NAME}" diff --git a/config/mail.php b/config/mail.php index df13d3df2..756305b3c 100644 --- a/config/mail.php +++ b/config/mail.php @@ -39,10 +39,10 @@ return [ 'smtp' => [ 'transport' => 'smtp', + 'scheme' => env('MAIL_SCHEME'), 'url' => env('MAIL_URL'), 'host' => env('MAIL_HOST', '127.0.0.1'), 'port' => env('MAIL_PORT', 2525), - 'encryption' => env('MAIL_ENCRYPTION', 'tls'), 'username' => env('MAIL_USERNAME'), 'password' => env('MAIL_PASSWORD'), 'timeout' => null,