*\r
*/\r
require_once 'lib/phpmailer/class.phpmailer.php';\r
+require_once 'lib/phpmailer/class.smtp.php';\r
require_once "config.php";\r
\r
class ttrssMailer extends PHPMailer {\r
$this->Username = SMTP_LOGIN;\r
$this->Password = SMTP_PASSWORD;\r
}\r
- if(SMTP_SECURE)
- $this->SMTPSecure = SMTP_SECURE;
+ if(SMTP_SECURE)\r
+ $this->SMTPSecure = SMTP_SECURE; \r
}\r
/* @brief a simple mail function to send email using the defaults\r
* This will send an HTML email using the configured defaults\r