LetoDMS Community Forum
chinese notify email char Garbled - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Bugs/Errors (https://community.letodms.com/forumdisplay.php?fid=11)
+--- Thread: chinese notify email char Garbled (/showthread.php?tid=648)



chinese notify email char Garbled - xcl3721 - 02-17-2013

fixed by myself already

$header = 'MIME-Version: 1.0' . "\r\n". //here
'Content-type: text/plain; charset=utf-8' . "\r\n". //here
"From: ". "=?UTF-8?B?".base64_encode($sender->getFullName() )."?= <". $sender->getEmail() .">\r\n" .//here
"Reply-To: ". $sender->getFullName() ." <". $sender->getEmail() .">\r\n";

$message .= getMLText("email_header")."\r\n\r\n".$message;
$message .= "\r\n\r\n".getMLText("email_footer");
$subject=$this->replaceMarker($subject);
$subject = "=?UTF-8?B?".base64_encode($subject)."?=";//here


Big Grin