you don't need to, you can use the 4th argument to Php's mail() function to
add your own reply-to header

mail($to, $subject, $body, "Reply-to: user@host\n");

jason


> Hello all
>
> I'm trying to use the built in mail function in PHP4.0.1p2 (which is
> expecting sendmail, I have the environment set to use
> /var/qmail/bin/sendmail -t).
>
> I need to set the Reply-To: with a valid e-mail address, yet the e-mail is
> using root as the reply to.
>
> How do I get /var/qmail/bin/sendmail to take a Reply-To: header without
> environment variables?
>
> Thanks


Reply via email to