From 68276c3dccae47aa65a4e909376ae1c68e8e50be Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Tue, 28 Nov 2017 15:55:26 +0000 Subject: [PATCH] phpmailer: unset SMTPAutoTLS --- wp-content/mu-plugins/ai-common.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-content/mu-plugins/ai-common.php b/wp-content/mu-plugins/ai-common.php index 11b9fdee4..98d8f680d 100644 --- a/wp-content/mu-plugins/ai-common.php +++ b/wp-content/mu-plugins/ai-common.php @@ -28,6 +28,9 @@ if (defined('SMTP_HOST')) { $phpmailer->SMTPSecure = SMTP_SECURE; $phpmailer->From = SMTP_FROM; $phpmailer->FromName = SMTP_NAME; + // Do not attempt STARTTLS even if the + // server offers it - use SMTPSecure instead. + $phpmailer->SMTPAutoTLS = false; } } -- GitLab