From 90df27a4c12d3be57744d0bb4cde048ff3174591 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 16 Apr 2013 16:43:15 +0400 Subject: [PATCH] ttrssMailer: fix typo --- classes/ttrssmailer.php | 4 ++-- config.php-dist | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/ttrssmailer.php b/classes/ttrssmailer.php index 1f365c22..54d18062 100644 --- a/classes/ttrssmailer.php +++ b/classes/ttrssmailer.php @@ -26,8 +26,8 @@ class ttrssMailer extends PHPMailer { function __construct() { $this->SetLanguage("en", "lib/phpmailer/language/"); - if (SMTP_HOST) { - $pair = explode(":", SMTP_HOST, 2); + if (SMTP_SERVER) { + $pair = explode(":", SMTP_SERVER, 2); $Mailer = "smtp"; $Host = $pair[0]; diff --git a/config.php-dist b/config.php-dist index 9dd46e29..48bd5987 100644 --- a/config.php-dist +++ b/config.php-dist @@ -170,7 +170,7 @@ define('SMTP_LOGIN', ''); define('SMTP_PASSWORD', ''); // These two options enable SMTP authentication when sending - // outgoing mail. Only used with SMTP_HOST + // outgoing mail. Only used with SMTP_SERVER. // *************************************** // *** Other settings (less important) *** -- 2.39.5