Skip to content

Commit 455b716

Browse files
authored
Merge pull request #7317 from kenjis/fix-email-tls-13
fix: [Email] add missing TLS 1.3 support
2 parents e163c9f + 9c70a64 commit 455b716

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

system/Email/Email.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1883,7 +1883,10 @@ protected function SMTPConnect()
18831883
$crypto = stream_socket_enable_crypto(
18841884
$this->SMTPConnect,
18851885
true,
1886-
STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT | STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT | STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT
1886+
STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT
1887+
| STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT
1888+
| STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT
1889+
| STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT
18871890
);
18881891

18891892
if ($crypto !== true) {

user_guide_src/source/changelogs/v4.3.3.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ Release Date: Unreleased
99
:local:
1010
:depth: 3
1111

12+
SECURITY
13+
********
14+
15+
- **Email:** Added missing TLS 1.3 support.
16+
1217
BREAKING
1318
********
1419

0 commit comments

Comments
 (0)