Re: note 33666 rejected and deleted from function.mail by notes editor alindeman

From: Date: Sat, 05 Jul 2003 18:32:51 +0000
Subject: Re: note 33666 rejected and deleted from function.mail by notes editor alindeman
References: 1 2  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-19181@lists.php.net to get a copy of this message
Thanks for the suggestion, please report this as a documentation bug report at bugs.php.net. Thanks, Goba ----- Original Message ----- From: "Thomas van Ditzhuijsen" <ditzhuijsen@hotmail.com> To: <webmaster@php.net> Sent: Thursday, July 03, 2003 4:12 PM Subject: Re: note 33666 rejected and deleted from function.mail by notes editor alindeman 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

« previous php.mirrors (#19181) next »