note 58761 deleted from function.mail by danbrown

From: Date: Sat, 25 Apr 2009 15:03:27 +0000
Subject: note 58761 deleted from function.mail by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-153745@lists.php.net to get a copy of this message
Note Submitter: php at nioubi dot com ---- For me, WinXP, EasyPHP 1.8.0.1, sending a mail with the headers lines separated by : \r\n $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; When I put the script online, and call it in order to send mail, the html is displayed in the mail client (tested Outlook Express and Thunderbird) when you want to read the message sent by php. Some of the headers are considered like text (but it works when sent from local). Solution : not use \r\n but only \n.

« previous php.notes (#153745) next »