Merge branch '572-fix-autotls-issue' into '3-1-1'
Disable AutoTLS for PHPMailer See merge request !64
This commit is contained in:
commit
ed6df71041
@ -15,6 +15,10 @@ class BasicEmailSender implements EmailSender {
|
|||||||
if ($heskSettings['smtp']) {
|
if ($heskSettings['smtp']) {
|
||||||
$mailer->isSMTP();
|
$mailer->isSMTP();
|
||||||
$mailer->SMTPAuth = true;
|
$mailer->SMTPAuth = true;
|
||||||
|
|
||||||
|
//-- We'll set this explicitly below if the user has it enabled.
|
||||||
|
$mailer->SMTPAutoTLS = false;
|
||||||
|
|
||||||
if ($heskSettings['smtp_ssl']) {
|
if ($heskSettings['smtp_ssl']) {
|
||||||
$mailer->SMTPSecure = "ssl";
|
$mailer->SMTPSecure = "ssl";
|
||||||
} elseif ($heskSettings['smtp_tls']) {
|
} elseif ($heskSettings['smtp_tls']) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user