Set UTF-8 charset for PHP Mailer

This commit is contained in:
Alex Tselegidis 2024-11-22 12:57:02 +01:00
parent c6d44fecb6
commit 947bd79821

View file

@ -242,6 +242,7 @@ class Email_messages
{
$php_mailer = new PHPMailer(true);
$php_mailer->CharSet = 'UTF-8';
$php_mailer->SMTPDebug = config('smtp_debug') ? SMTP::DEBUG_SERVER : null;
if (config('protocol') === 'smtp') {