note 19383 rejected from function.mail by alindeman

From: Date: Tue, 26 Feb 2002 13:25:23 +0000
Subject: note 19383 rejected from function.mail by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-27059@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.

« previous php.notes (#27059) next »