add charset for sending email

This commit is contained in:
Javad Evazzadeh Kakroudi 2015-05-29 23:19:25 +04:30
parent ffd9cfc6c8
commit 1c9823f165
1 changed files with 1 additions and 0 deletions

View File

@ -388,6 +388,7 @@ function psm_update_available() {
function psm_build_mail($from_name = null, $from_email = null) {
$phpmailer = new \PHPMailer();
$phpmailer->Encoding = "base64";
$phpmailer->CharSet = 'UTF-8';
$phpmailer->SMTPDebug = false;
if(psm_get_conf('email_smtp') == '1') {