ttrssmailer: include phpmailer's smtp class

This commit is contained in:
Andrew Dolgov 2017-01-04 10:33:24 +03:00
parent 832aa24943
commit eee818c46a
1 changed files with 3 additions and 2 deletions

View File

@ -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