Maybe try using "Reply-To" instead of "Return-Path"

-Stewart
-----Original Message-----
From: Kevin Price-Ward [mailto:[EMAIL PROTECTED]]
Sent: 10 May 2001 11:18
To: [EMAIL PROTECTED]
Subject: [PHP] Defining the Return-Path in an email header?


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: <[EMAIL PROTECTED]>\n";

but the source on the resulting email says:
Return-Path: <[EMAIL PROTECTED]>

(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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to