note 19414 modified in function.mail by derick
| From: | derick@php.net | Date: | Sat, 15 May 2004 13:25:36 +0000 |
| Subject: | note 19414 modified in function.mail by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-69645@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.
--was--
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