summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-01-04 10:33:24 +0300
committerAndrew Dolgov <[email protected]>2017-01-04 10:33:24 +0300
commiteee818c46a25131c65f349104cf5877e356c2a27 (patch)
tree8550d495354103f1d03c251741cfe3fa1315d145 /classes
parent832aa24943f6b65a811dc6c7414dede412ab1ec6 (diff)
ttrssmailer: include phpmailer's smtp class
Diffstat (limited to 'classes')
-rw-r--r--classes/ttrssmailer.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/classes/ttrssmailer.php b/classes/ttrssmailer.php
index 64e8a59a7..4029bbbdb 100644
--- a/classes/ttrssmailer.php
+++ b/classes/ttrssmailer.php
@@ -7,6 +7,7 @@
*
*/
require_once 'lib/phpmailer/class.phpmailer.php';
+require_once 'lib/phpmailer/class.smtp.php';
require_once "config.php";
class ttrssMailer extends PHPMailer {
@@ -41,8 +42,8 @@ class ttrssMailer extends PHPMailer {
$this->Username = SMTP_LOGIN;
$this->Password = SMTP_PASSWORD;
}
- if(SMTP_SECURE)
- $this->SMTPSecure = SMTP_SECURE;
+ 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