Disable AutoTLS for PHPMailer
This commit is contained in:
parent
37bd252041
commit
4db151de66
@ -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…
x
Reference in New Issue
Block a user