]> git.mxchange.org Git - friendica-addons.git/commitdiff
[FIX] Update encoding
authorUnknown <kecalcze@gmail.com>
Fri, 12 Apr 2019 10:13:13 +0000 (12:13 +0200)
committerUnknown <kecalcze@gmail.com>
Fri, 12 Apr 2019 10:13:13 +0000 (12:13 +0200)
phpmailer/phpmailer.php

index 57871f3270b640840bf4003cfa8da2e71ff9b187..96643f94edbbf725dc37223c319db286da07a46f 100644 (file)
@@ -50,6 +50,9 @@ function phpmailer_emailer_send_prepare(App $a, array &$b)
                        // Enable verbose debug output
                        $mail->SMTPDebug = 2;
                        */
+                       // Setup encoding.
+                       $mail->CharSet = 'UTF-8';
+                       $mail->Encoding = 'base64';
                        // Specify main and backup SMTP servers
                        $mail->Host = Config::get('phpmailer', 'smtp_server');
                        $mail->Port = Config::get('phpmailer', 'smtp_port');