Skip to content
Snippets Groups Projects
Commit 69b93476 authored by ale's avatar ale Committed by agata
Browse files

phpmailer: unset SMTPAutoTLS

parent de6a379d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment