From aa9a32a9596267f5a6bad2b58607918aec8ef9e5 Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 12 Apr 2019 12:13:13 +0200 Subject: [PATCH] [FIX] Update encoding --- phpmailer/phpmailer.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpmailer/phpmailer.php b/phpmailer/phpmailer.php index 57871f32..96643f94 100644 --- a/phpmailer/phpmailer.php +++ b/phpmailer/phpmailer.php @@ -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');