ttrssMailer: fix typo

This commit is contained in:
Andrew Dolgov 2013-04-16 16:43:15 +04:00
parent 52803a0bfd
commit 90df27a4c1
2 changed files with 3 additions and 3 deletions

View File

@ -26,8 +26,8 @@ class ttrssMailer extends PHPMailer {
function __construct() { function __construct() {
$this->SetLanguage("en", "lib/phpmailer/language/"); $this->SetLanguage("en", "lib/phpmailer/language/");
if (SMTP_HOST) { if (SMTP_SERVER) {
$pair = explode(":", SMTP_HOST, 2); $pair = explode(":", SMTP_SERVER, 2);
$Mailer = "smtp"; $Mailer = "smtp";
$Host = $pair[0]; $Host = $pair[0];

View File

@ -170,7 +170,7 @@
define('SMTP_LOGIN', ''); define('SMTP_LOGIN', '');
define('SMTP_PASSWORD', ''); define('SMTP_PASSWORD', '');
// These two options enable SMTP authentication when sending // 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) *** // *** Other settings (less important) ***