note 26218 added to ref.mail
| From: | moacir at uchicago dot edu | Date: | Tue, 22 Oct 2002 20:01:00 +0000 |
| Subject: | note 26218 added to ref.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-38434@lists.php.net to get a copy of this message | ||
If you're passing variables you got from somewhere else (like a form) into mail(), make sure
they're chop()-ped, or else everything will only half-work, causing, at least in one rumoured
instance, hours of fretting and scouring of webpages and newsgroups.
It's not the order of the headers, it's not the presence of asterisks in the Subject:
line, it's because there are inopportune \ns hiding around
--
http://www.php.net/manual/en/ref.mail.php
http://master.php.net/manage/user-notes.php?action=edit+26218
http://master.php.net/manage/user-notes.php?action=delete+26218
http://master.php.net/manage/user-notes.php?action=reject+26218