Fix phpmailer compatibility with latest friendica

pull/845/head
Unknown 2019-04-12 00:45:05 +02:00
parent ffe5038102
commit 320dab881b
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ function phpmailer_emailer_send_prepare(App $a, array &$b)
} }
if (Config::get('phpmailer', 'smtp_from')) { 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'));
} }
} }