note 40204 added to function.mail
| From: | Paul at rn2 dot php dot net | Date: | Wed, 25 Feb 2004 07:51:35 +0000 |
| Subject: | note 40204 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-65697@lists.php.net to get a copy of this message | ||
My mime multipart/alternative messages were going ok, until I switched to qmail with php .. after
years of painfull searching, I came across this on the Life With Qmail 'Gotchas' section:
G.11. Carriage Return/Linefeed (CRLF) line breaks don't work
qmail-inject and other local injection mechanisms like sendmail don't work right when messages
are injected with DOS-style carriage return/linefeed (CRLF) line breaks. Unlike Sendmail, qmail
requires locally-injected messages to use Unix newlines (LF only). This is a common problem with PHP
scripts.
So now, I can go back to sending emails with text AND html components :)
----
Manual Page -- http://www.php.net/manual/en/function.mail.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40204
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40204&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40204&report=yes
Search -- http://master.php.net/manage/user-notes.php