[FIX] Update encoding

This commit is contained in:
Unknown 2019-04-12 12:13:13 +02:00
parent 320dab881b
commit aa9a32a959

View File

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