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