From 510d876c1e101f1583a77fb00653d70fa77cf500 Mon Sep 17 00:00:00 2001
From: Matteo Scaramuccia <wordpress@matteoscaramuccia.com>
Date: Sun, 6 Mar 2016 08:19:43 +0100
Subject: [PATCH] PHPMailer: disabled automatic TLS encryption.
---
wp-includes/pluggable.php | 2 ++
1 file changed, 2 insertions(+)
diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php
index 8db1a51..0ea2523 100644
a
|
b
|
function wp_mail( $to, $subject, $message, $headers = '', $attachments = array() |
213 | 213 | require_once ABSPATH . WPINC . '/class-phpmailer.php'; |
214 | 214 | require_once ABSPATH . WPINC . '/class-smtp.php'; |
215 | 215 | $phpmailer = new PHPMailer( true ); |
| 216 | // Disable the automatic TLS encryption added in PHPMailer v5.2.10 (9da56fc1328a72aa124b35b738966315c41ef5c6) |
| 217 | $phpmailer->SMTPAutoTLS = false; |
216 | 218 | } |
217 | 219 | |
218 | 220 | // Headers |