Skip to content

Commit

Permalink
Set UTF-8 charset for PHP Mailer
Browse files Browse the repository at this point in the history
  • Loading branch information
alextselegidis committed Nov 22, 2024
1 parent c6d44fe commit 947bd79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/libraries/Email_messages.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ private function get_php_mailer(): PHPMailer
{
$php_mailer = new PHPMailer(true);

$php_mailer->CharSet = 'UTF-8';
$php_mailer->SMTPDebug = config('smtp_debug') ? SMTP::DEBUG_SERVER : null;

if (config('protocol') === 'smtp') {
Expand Down

0 comments on commit 947bd79

Please sign in to comment.