From 6dd01fcea230dc96bd3955aa74cf16aa1c5c17ca Mon Sep 17 00:00:00 2001 From: justauser Date: Sun, 26 May 2013 11:27:42 -0400 Subject: Changes to support a new version of the phpmailer. Adds a new setting SMTP_SECURE, which cna have a value of tls, ssl or be empty. This is used for secure SMTP servers. Also added the ability to have multiple email addresses in the to field. Addresses are separated by semicolons (;) --- classes/ttrssmailer.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'classes/ttrssmailer.php') diff --git a/classes/ttrssmailer.php b/classes/ttrssmailer.php index 1e8d07723..64e8a59a7 100644 --- a/classes/ttrssmailer.php +++ b/classes/ttrssmailer.php @@ -41,6 +41,8 @@ class ttrssMailer extends PHPMailer { $this->Username = SMTP_LOGIN; $this->Password = SMTP_PASSWORD; } + 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 -- cgit v1.2.3-54-g00ecf