diff --git a/app/Notifications/Channels/EmailChannel.php b/app/Notifications/Channels/EmailChannel.php index abd11555029..b986def0735 100644 --- a/app/Notifications/Channels/EmailChannel.php +++ b/app/Notifications/Channels/EmailChannel.php @@ -80,8 +80,8 @@ public function send(SendsEmail $notifiable, Notification $notification): void } elseif ($isSmtpEnabled) { $encryption = match (strtolower($settings->smtp_encryption)) { 'starttls' => null, - 'tls' => 'tls', - 'none' => null, + 'tls' => true, + 'none' => false, default => null, };