note 54022 deleted from function.mail by danbrown
| From: | danbrown@php.net | Date: | Sat, 25 Apr 2009 15:04:17 +0000 |
| Subject: | note 54022 deleted from function.mail by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-153750@lists.php.net to get a copy of this message | ||
Note Submitter: gregBOGUS at BOGUSlorriman dot com
----
In the posting "gregBOGUS at BOGUSlorriman dot com 6th april 2005" I claimed that
redirecting an email, via the mail() function, to a different email address was as simple as copying
over the unmodified headers of the originally recieved email (which would, of course, include the
original "To:" field).
However it seems that this works for a Xampp install (http://www.apachefriends.org/en/xampp.html)
with Mercury as the mail agent, but doesn't work on my webhost without first removing the old
"To:" field, and perhaps other header modifications. Therefore it looks like it would be
safest to strip any header lines that shouldn't be there. <sigh>
http://www.lorriman.com