note 19414 added to function.mail
| From: | madsen at sjovedyr dot dk | Date: | Tue, 26 Feb 2002 21:35:26 +0000 |
| Subject: | note 19414 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27089@lists.php.net to get a copy of this message | ||
Another followup to the 5th parameter and Return-Path. In an earlier note it was quoted from the
man pages of sendmail, that if the Errors-To header is sent, then it will be used as Return-Path
instead of the -f parameters value.
That did not work for me...
The Errors-To header seems obsolete... The Return-Path will only work (for me) when set by the 5th
parameter as "-f$EMAIL_FROM". Otherwise it'll try to return errors to
nobody@$server.
BUT...
When the -f parameter is used, you'll get an additional header X-authentication-warning, which
doesn't look very nice in your mails, but the Return-Path will work...
Hope it could help somebody or at least my self.
--
http://www.php.net/manual/en/function.mail.php
http://master.php.net/manage/user-notes.php?action=edit+19414
http://master.php.net/manage/user-notes.php?action=delete+19414
http://master.php.net/manage/user-notes.php?action=reject+19414