RE: [PHP] mail() function
| From: | Martin Towell | Date: | Wed, 14 Nov 2001 23:58:18 +0000 |
| Subject: | RE: [PHP] mail() function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-74657@lists.php.net to get a copy of this message | ||
It's probably thinking that "Do Not Reply" is a user name, so try:
"Do Not Reply <Do_Not_Reply@Do_Not_Reply.com>"
and see how that goes
-----Original Message-----
From: Brandon Orther [mailto:orther@webintellects.com]
Sent: Thursday, November 15, 2001 10:50 AM
To: PHP User Group
Subject: [PHP] mail() function
Hello,
I have been mssing with the mail function for a day now. When I send a
e-mail it always adds the server name to the end of whatever I put the
e-mail from in the header.
Example:
$mailheaders = "From: \"Do Not Reply\"\r\nReply-To: Do Not Reply@Do Not
Reply\n";
If I use the above headers it says from "Do Not Reply@servername.com"
Does anyone know how to make it just say "Do Not Reply"?
Thanks
Brandon