summaryrefslogtreecommitdiff
path: root/classes/ttrssmailer.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-30 08:36:42 +0400
committerAndrew Dolgov <[email protected]>2013-05-30 08:36:42 +0400
commit1f5e9d9ab0541fbd25570d9be05bd4a487163807 (patch)
treeb053718e74a4d4ddb7bd6397416438c5d6fa0a5e /classes/ttrssmailer.php
parent37f00f7fcc4ad076c1a54ad890d6b86edd2185d8 (diff)
parentf766373271b4d388597f95ef2a55d028fcbca8f1 (diff)
Merge branch 'master' of git://github.com/justauserx/Tiny-Tiny-RSS into justauserx-master
Diffstat (limited to 'classes/ttrssmailer.php')
-rw-r--r--classes/ttrssmailer.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/ttrssmailer.php b/classes/ttrssmailer.php
index 1e8d07723..64e8a59a7 100644
--- a/classes/ttrssmailer.php
+++ b/classes/ttrssmailer.php
@@ -41,6 +41,8 @@ class ttrssMailer extends PHPMailer {
$this->Username = SMTP_LOGIN;
$this->Password = SMTP_PASSWORD;
}
+ if(SMTP_SECURE)
+ $this->SMTPSecure = SMTP_SECURE;
}
/* @brief a simple mail function to send email using the defaults
* This will send an HTML email using the configured defaults