note 28194 added to ref.mail

From: Date: Sun, 05 Jan 2003 19:42:02 +0000
Subject: note 28194 added to ref.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-41695@lists.php.net to get a copy of this message
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); -- http://www.php.net/manual/en/ref.mail.php http://master.php.net/manage/user-notes.php?action=edit+28194 http://master.php.net/manage/user-notes.php?action=delete+28194 http://master.php.net/manage/user-notes.php?action=reject+28194

« previous php.notes (#41695) next »