>Since I've set sendmail_path to /var/qmail/bin/inject in php3.ini, all
>emails coming from the http client come from me, i.e. my email address on
>our server, and not from the apache client name, http ...
>
>What's wrong in my conf ...

qmail comes with a sendmail wrapper, so you may want to use that with:
sendmail_path = "/path/to/qmail/sendmail -t";

To alter the From/Reply-to, use the optional 4th argument to mail():

$headers = "From: [EMAIL PROTECTED]\r\n";
$headers .= "Reply-to: [EMAIL PROTECTED]\r\n";
$headers .= "X-Powered-By: PHP Mailer by Boucey\r\n";
mail($to, $subject, $body, $headers);

-- 
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm




-- 
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