Try this

mail($recipient,"subject","

$content

","From: $sender\nReply-To: $sender\nX-Mailer: PHP/" . phpversion());

Hope this helps

Thank you
Brian Paulson
Sr. Web Developer
[EMAIL PROTECTED]
http://www.chieftain.com
1-800-269-6397

-----Original Message-----
From: david klein [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 02, 2001 12:25 PM
To: [EMAIL PROTECTED]
Subject: [PHP] how to specify the sender email address in the mail()
function?


It seems that mail($recipient, $subject, $content) has no place to specify 
the sender's email address. Does anyone know how to specify the sender's 
email address?

Thanks,
David
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


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