note 46622 added to function.mail
| From: | todd at buiten dot com | Date: | Sun, 17 Oct 2004 23:32:49 +0000 |
| Subject: | note 46622 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-78708@lists.php.net to get a copy of this message | ||
If you're specifying additional headers and trying to send HTML mail to a user at gmail.com
then you may find that you have problems with headers that include "\r\n". Apparently
they have trouble interpreting the extra carriage return in the headers so they interpret some of
the headers are part of the body of the message. The way around this is to remove the extra
carriage return, but then you risk breaking email sent to email servers that require them.
----
Manual Page -- http://www.php.net/manual/en/function.mail.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46622
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46622&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+46622&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+46622&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+46622&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+46622&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+46622&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46622&report=yes
Search -- http://master.php.net/manage/user-notes.php