Re: note 33666 rejected and deleted from function.mail by notes editor alindeman
| From: | Thomas van Ditzhuijsen | Date: | Thu, 03 Jul 2003 14:12:19 +0000 |
| Subject: | Re: note 33666 rejected and deleted from function.mail by notes editor alindeman | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-19148@lists.php.net to get a copy of this message | ||
After reading php.net/support.php "if you have a problem or suggestion with the PHP.net
website" I think I can better mail it.
If I use
/* To send HTML mail, you can set the Content-type header. */
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
/* additional headers */
$headers .= "From: Birthday Reminder <birthday@example.com>\r\n";
$headers .= "Cc: birthdayarchive@example.com\r\n";
$headers .= "Bcc: birthdaycheck@example.com\r\n";
(example from the php.net site) there are problems with some mail servers (example home.nl and
gmx.net and probably more) that there are empty linus between the header and therefor mail programs
see Conten-type and everything after that as part of the body.
Just removing the \r will fix this problem; so maybe it's an idea to remove this from the
example??
(I don't know whether it also works on windows os)
I hope this e-mail is also meant for content questions,
with kind regards,
Thomas van Ditzhuijsen