Hello,

On 06/13/2003 09:09 AM, Tom Woody wrote:
Is it possible to change the Return-Path header in PHP on linux?  I have
seen all the posts about setting it in the php.ini with the -f switch to
sendmail.  But I need to set it based on the person logged into the
page?  Right now the Return-Path is set to a default that gets sent to
me (the administrator).

I have a group of about 20 users who log into the webpage, and send
email messages. If any of the messages bounce, those users don't know
about it until I sift through the postmaster mailbox and let them know
(that is unless the remote mail server is nice and send the bounce to
the From: or Reply-To:). Changing the Return-Path would solve this for
everyone. Any thoughts ideas, or am i just out of luck?

Yes, under Linux you just use the -f switch. You may want to take a look at this class that comes with an abstraction of the Return-Path header:


http://www.phpclasses.org/mimemessage

--

Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to