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
1 changed files with 1 additions and 0 deletions

View File

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