Merge branch '572-fix-autotls-issue' into '3-1-1'

Disable AutoTLS for PHPMailer

See merge request !64
master
Mike Koch 7 years ago
commit ed6df71041

@ -15,6 +15,10 @@ class BasicEmailSender implements EmailSender {
if ($heskSettings['smtp']) {
$mailer->isSMTP();
$mailer->SMTPAuth = true;
//-- We'll set this explicitly below if the user has it enabled.
$mailer->SMTPAutoTLS = false;
if ($heskSettings['smtp_ssl']) {
$mailer->SMTPSecure = "ssl";
} elseif ($heskSettings['smtp_tls']) {

Loading…
Cancel
Save