From f066817daad06075743765b4b81fc534e8345752 Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov <38059171+askvortsov1@users.noreply.github.com> Date: Sat, 12 Sep 2020 17:43:06 -0400 Subject: [PATCH] Allow upper case TLS and SSL for SMTP encryption (#2289) --- framework/core/src/Mail/SmtpDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Mail/SmtpDriver.php b/framework/core/src/Mail/SmtpDriver.php index eea13d0b0..5cca7adde 100644 --- a/framework/core/src/Mail/SmtpDriver.php +++ b/framework/core/src/Mail/SmtpDriver.php @@ -33,7 +33,7 @@ class SmtpDriver implements DriverInterface return $validator->make($settings->all(), [ 'mail_host' => 'required', 'mail_port' => 'nullable|integer', - 'mail_encryption' => 'nullable|in:tls,ssl', + 'mail_encryption' => 'nullable|in:tls,ssl,TLS,SSL', 'mail_username' => 'nullable|string', 'mail_password' => 'nullable|string', ])->errors();