set charset to utf-8 in sendmail.php script.

This commit is contained in:
Marcel Kapfer 2017-05-23 16:47:37 +02:00
parent 53421bcae0
commit 31ea532523

View file

@ -61,6 +61,7 @@ function main($ini) {
function sendMail($title, $content, $filename, $address, $ini) { function sendMail($title, $content, $filename, $address, $ini) {
$mail = new PHPMailer; $mail = new PHPMailer;
$mail->CharSet = 'UTF-8';
$mail->setFrom($ini["email"], $ini["name"]); $mail->setFrom($ini["email"], $ini["name"]);
$mail->Subject = $title; $mail->Subject = $title;