Set email charset to make symbols display properly

This commit is contained in:
Marcus Hill 2023-02-07 18:29:19 +00:00
parent 5051a3da43
commit f3caeff3bb
1 changed files with 1 additions and 0 deletions

View File

@ -501,6 +501,7 @@ function sendSingleEmail($config_smtp_host, $config_smtp_username, $config_smtp_
try{ try{
// Mail Server Settings // Mail Server Settings
$mail->CharSet = "UTF-8";
$mail->SMTPDebug = 0; // No Debugging $mail->SMTPDebug = 0; // No Debugging
$mail->isSMTP(); // Set mailer to use SMTP $mail->isSMTP(); // Set mailer to use SMTP
$mail->Host = $config_smtp_host; // Specify SMTP server $mail->Host = $config_smtp_host; // Specify SMTP server