From 320dab881b31bfc82a44661b21a2c8e141265533 Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 12 Apr 2019 00:45:05 +0200 Subject: [PATCH] Fix phpmailer compatibility with latest friendica --- phpmailer/phpmailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpmailer/phpmailer.php b/phpmailer/phpmailer.php index 7998b03a8..57871f327 100644 --- a/phpmailer/phpmailer.php +++ b/phpmailer/phpmailer.php @@ -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')); } }