Defining the Return-Path in an email header?

From: Date: Thu, 10 May 2001 10:17:59 +0000
Subject: Defining the Return-Path in an email header?
Groups: php.general 
Request: Send a blank email to php-general+get-52253@lists.php.net to get a copy of this message
Hi, I am setting up a php emailer facility using the 'mail' function, I have defined the 'Return-Path:' in the fourth argument of 'mail', but this keeps getting overwritten by sendmail: my code says: $headers .= "Return-Path: <accounts@talismanmarketing.co.uk>\n"; but the source on the resulting email says: Return-Path: <nobody@vweb9.hiway.co.uk> (Where vweb9.hiway.co.uk is our ISP's server) the problem with this is that emails that might have delivery problems, don't get returned to me and I will never know that they haven't been delivered. Any ideas? Thanks the_lar

« previous php.general (#52253) next »