From 1bb83bc47c6e0b360b4bd4ff9dec11247c47847b Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Sun, 31 Jul 2016 20:00:54 +0200 Subject: Mail: add SMTP_AUTH_TYPE --- classes/Mailer.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'classes/Mailer.php') diff --git a/classes/Mailer.php b/classes/Mailer.php index 782afc3..33068b7 100644 --- a/classes/Mailer.php +++ b/classes/Mailer.php @@ -39,6 +39,8 @@ class Mailer extends PHPMailer { $this->isSMTP(); $this->Host = SMTP_HOST; $this->SMTPAuth = SMTP_AUTH; + if (defined('SMTP_AUTH_TYPE')) + $this->AuthType = SMTP_AUTH_TYPE; $this->Username = SMTP_USERNAME; $this->Password = SMTP_PASSWORD; $this->SMTPSecure = SMTP_SECURE; -- cgit v1.2.3