]> git.wh0rd.org - tt-rss.git/blobdiff - classes/ttrssmailer.php
Fix for testing filters getting stuck sometimes.
[tt-rss.git] / classes / ttrssmailer.php
index 1e8d077231f2f2e192fc95d637e1c6619d9e1269..64e8a59a75784a554cae8d45a540e1f2a5eab347 100644 (file)
@@ -41,6 +41,8 @@ class ttrssMailer extends PHPMailer {
                        $this->Username = SMTP_LOGIN;\r
                        $this->Password = SMTP_PASSWORD;\r
                        }\r
+               if(SMTP_SECURE)
+                       $this->SMTPSecure = SMTP_SECURE;        
        }\r
        /*      @brief a simple mail function to send email using the defaults\r
        *       This will send an HTML email using the configured defaults\r