From a6261236234c4f541ddc9bdcdf74f3275f3d9201 Mon Sep 17 00:00:00 2001 From: deepshekhardas Date: Wed, 11 Mar 2026 06:25:56 +0530 Subject: [PATCH] fix: respect SMTP encryption setting for email notifications --- app/Notifications/Channels/EmailChannel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Notifications/Channels/EmailChannel.php b/app/Notifications/Channels/EmailChannel.php index abd115550..b986def07 100644 --- a/app/Notifications/Channels/EmailChannel.php +++ b/app/Notifications/Channels/EmailChannel.php @@ -80,8 +80,8 @@ class EmailChannel } elseif ($isSmtpEnabled) { $encryption = match (strtolower($settings->smtp_encryption)) { 'starttls' => null, - 'tls' => 'tls', - 'none' => null, + 'tls' => true, + 'none' => false, default => null, };