1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 03:25:55 +00:00

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() {
$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];

View File

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