]> git.mxchange.org Git - friendica-addons.git/commitdiff
Fix phpmailer compatibility with latest friendica
authorUnknown <kecalcze@gmail.com>
Thu, 11 Apr 2019 22:45:05 +0000 (00:45 +0200)
committerUnknown <kecalcze@gmail.com>
Thu, 11 Apr 2019 22:45:05 +0000 (00:45 +0200)
phpmailer/phpmailer.php

index 7998b03a802f2835065728e4ffa22e75c659bbfd..57871f3270b640840bf4003cfa8da2e71ff9b187 100644 (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'));
                        }
                }