mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-07 17:49:14 +00:00
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 (;)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user