]> git.wh0rd.org - tt-rss.git/blobdiff - classes/ttrssmailer.php
update .gitignore
[tt-rss.git] / classes / ttrssmailer.php
index 64e8a59a75784a554cae8d45a540e1f2a5eab347..cd10b7cb35a32890296f8082e689575b0b4d62d9 100644 (file)
@@ -7,6 +7,7 @@
 *\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
@@ -41,8 +42,8 @@ class ttrssMailer extends PHPMailer {
                        $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
@@ -59,6 +60,4 @@ class ttrssMailer extends PHPMailer {
                $rc=$this->send();\r
                return $rc;\r
        }\r
-}\r
-\r
-?>\r
+}
\ No newline at end of file