Skip to content

Commit a0c999e

Browse files
authored
hestiacp#2050 set send_email func default charset to uft-8
1 parent 8e1e81d commit a0c999e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web/inc/main.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ function send_email($to, $subject, $mailtext, $from, $from_name) {
317317
$mail->AddAddress($to, "Hestia Control Panel User");
318318
$mail->SetFrom($from, $from_name);
319319

320+
$mail->CharSet = "utf-8";
320321
$mail->Subject = $subject;
321322
$content = $mailtext;
322323
$content = nl2br($content);

0 commit comments

Comments
 (0)