Fix phpmailer compatibility with latest friendica

This commit is contained in:
Unknown 2019-04-12 00:45:05 +02:00
parent ffe5038102
commit 320dab881b

View File

@ -66,7 +66,7 @@ function phpmailer_emailer_send_prepare(App $a, array &$b)
}
if (Config::get('phpmailer', 'smtp_from')) {
$mail->setFrom(Config::get('phpmailer', 'smtp_from'), Config::get('sitename'));
$mail->setFrom(Config::get('phpmailer', 'smtp_from'), Config::get('config', 'sitename'));
}
}