mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-24 18:51:28 +00:00
properly enable smtp auth in phpmailer when needed
This commit is contained in:
@@ -3610,6 +3610,7 @@
|
||||
if (DIGEST_SMTP_HOST) {
|
||||
$mail->Host = DIGEST_SMTP_HOST;
|
||||
$mail->Mailer = "smtp";
|
||||
$mail->SMTPAuth = DIGEST_SMTP_LOGIN != '';
|
||||
$mail->Username = DIGEST_SMTP_LOGIN;
|
||||
$mail->Password = DIGEST_SMTP_PASSWORD;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user