I use this code to send my feedback form to my email address that filled in UTF-8: ================================================ $Recipient="[EMAIL PROTECTED]"; $message = "<html><head><META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=utf-8\"></head><body dir=rtl>\n"; $message .= "Subject: $subject<br>\n"; $message .= "Company: $data[1]<br>\n"; $message .= "Name: $data[0]<br>\n"; $message .= "Family: $data[7]<br>\n"; $message .= "Sender e-mail : $email<br>\n"; $message .= "Address: $data[2]<br>\n"; $message .= "Phone/Fax: $data[3]<br>\n"; $message .= "Biz: $data[4]<br>\n"; $message .= "Interets: $data[5]<br>\n"; $message .= "Coments: $data[6]<br>\n"; $message .= "<hr color=navy><center><a href=\"http://www.AlgorithmCo.com\"><font size=-2>Powered by Algorithm Co</font></a></center>\n"; $message .= "</body></html>\n";
$headers = "From: $name <$email>\n"; $headers .= "X-Develpoer: <www.AlgorithmCo.com>\n"; $headers .= "X-Priority: 1\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=utf-8\r\n"; $headers .= "Return-Path: <$email>\n"; // Return path for errors $mail_sent=mail($Recipient, $subject, $message, $headers); ======================================================================= "M." <[EMAIL PROTECTED]> wrote in message 001101c2acb2$349632d0$1b52dbd9@mottaghi">news:001101c2acb2$349632d0$1b52dbd9@mottaghi... > Hi, > i want to send a mail with unicode contents, what is the "content-type" and > "content-transfer-encoding"?? > thank you > omid > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php