note 18463 added to function.mail
| From: | gleitsmann at web dot de | Date: | Thu, 24 Jan 2002 00:51:10 +0000 |
| Subject: | note 18463 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-25766@lists.php.net to get a copy of this message | ||
---
The optional 5th parameter was the only way I found to get sendmail to stop
putting a return path of "nobody@localhost.localdomain".
---
You might want to try to add
$headers .= "Reply-To: $foo_name <$foo_email>\n";
instead.
Works fine for me.
--
http://www.php.net/manual/en/function.mail.php
http://master.php.net/manage/user-notes.php?action=edit+18463
http://master.php.net/manage/user-notes.php?action=delete+18463
http://master.php.net/manage/user-notes.php?action=reject+18463