mirror of
https://github.com/araxiaonline/WoWSimpleRegistration.git
synced 2026-06-13 03:12:27 -04:00
Merge pull request #48 from den13501/patch-2
PHPMailer supports UTF-8 for non-English languages. Thanks to @den13501
This commit is contained in:
@@ -152,6 +152,7 @@ function send_phpmailer($email, $subject, $message)
|
||||
$mail->addReplyTo(get_config('smtp_mail'));
|
||||
|
||||
// Content
|
||||
$mail->CharSet = 'UTF-8';
|
||||
$mail->isHTML(true);
|
||||
$mail->Subject = $subject;
|
||||
$mail->Body = $message;
|
||||
@@ -388,4 +389,4 @@ function lang($val)
|
||||
function elang($val)
|
||||
{
|
||||
echo lang($val);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user