set charset to utf-8 in sendmail.php script.
This commit is contained in:
parent
53421bcae0
commit
31ea532523
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue