Set default charset of mails to UTF-8

This commit is contained in:
jrenslin authored and stefan committed 2020-10-22 14:33:14 +02:00
1 parent 85c4ddeb78
commit c1778ac3a0
2 files changed
+6 -3

No files matched your search

+1
View File
@@ -50,6 +50,7 @@ public static function setup_PHPMailer():PHPMailer {
$mail->setFrom(MD_CONF_EMAIL::SMTP_FROM, MD_CONF_EMAIL::SMTP_DISPLAYED_FROM);
$mail->addReplyTo(MD_CONF_EMAIL::SMTP_REPLY_TO_DEFAULT);
$mail->CharSet = 'UTF-8';
return $mail;