I have a problem with my arabic emails.I am using MIME version1.0 and passing the headers like
Code: Select all
function getheader_email($from_email){
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
$headers .= "From: <".$from_email.">" . "\r\n";
return $headers;
}I changed the charset to different types like windows-1256 ets searched from google but that also didn't solve the problem.
and also a html format is used for show the message in html format;
Code: Select all
function format_html($html){
return "<html><body><meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" /><font style=\"font-family:Arial, Helvetica, sans-serif; font-size:10px\">$html</font></body></html>";
}and using the mail() function for send the mails.
Code: Select all
mail(str_replace(' ','',$ownuser_email),$arrlangconst["OWN_DELVIDEO_MAILSUBJECT"],$this->format_html($strmessage),$this->getheader($video_user));عزيزي عضو كليبسر
الÙ