RE: [PHP] how to specify the sender email address in the mail() function?
| From: | Brian Paulson | Date: | Fri, 02 Feb 2001 19:37:04 +0000 |
| Subject: | RE: [PHP] how to specify the sender email address in the mail() function? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-37893@lists.php.net to get a copy of this message | ||
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
bpaulson@chieftain.com
http://www.chieftain.com
1-800-269-6397
-----Original Message-----
From: david klein [mailto:davidklein101@hotmail.com]
Sent: Friday, February 02, 2001 12:25 PM
To: php-general@lists.php.net
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: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net