aboutsummaryrefslogtreecommitdiff
path: root/classes/Mailer.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Mailer.php')
-rw-r--r--classes/Mailer.php2
1 files changed, 2 insertions, 0 deletions
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;