ttrssMailer: fix typo

master
Andrew Dolgov 12 years ago
parent 52803a0bfd
commit 90df27a4c1

@ -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];

@ -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) ***

Loading…
Cancel
Save