note 28194 deleted from ref.mail by vincent
| From: | vincent@php.net | Date: | Fri, 12 Sep 2003 06:55:18 +0000 |
| Subject: | note 28194 deleted from ref.mail by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-56330@lists.php.net to get a copy of this message | ||
Note Submitter: nimrod lehavi a_t hotmail d_o_t com
----
when u whish to send an email in other languages (hebrew for example),
if you want the mail client to use the right charset,
specify it in the headers of the mail function - for example:
$to = "a@b.c";
$from = "b@c.a";
$subject = "subject";
$body = "<html><other HTML tags />charset here for logical
hebrew</html>";
$headers="Content-Type:text/html;CHARSET=iso-8859-8-i\r\n";
$headers.="From:".$from."\r\n";
mail($to, $subject, $body, $headers);