diff options
author | Andrew Dolgov <[email protected]> | 2013-04-16 16:43:15 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-16 16:43:15 +0400 |
commit | 90df27a4c12d3be57744d0bb4cde048ff3174591 (patch) | |
tree | 4185cafa8ce1bb6e28669d0d1203b048c71dd57c | |
parent | 52803a0bfd315e375221c446f597f64ecbfb2aae (diff) |
ttrssMailer: fix typo
-rw-r--r-- | classes/ttrssmailer.php | 4 | ||||
-rw-r--r-- | config.php-dist | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/classes/ttrssmailer.php b/classes/ttrssmailer.php index 1f365c22e..54d180620 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 9dd46e295..48bd59870 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) *** |