summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-16 16:43:15 +0400
committerAndrew Dolgov <[email protected]>2013-04-16 16:43:15 +0400
commit90df27a4c12d3be57744d0bb4cde048ff3174591 (patch)
tree4185cafa8ce1bb6e28669d0d1203b048c71dd57c
parent52803a0bfd315e375221c446f597f64ecbfb2aae (diff)
ttrssMailer: fix typo
-rw-r--r--classes/ttrssmailer.php4
-rw-r--r--config.php-dist2
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) ***