It's probably thinking that "Do Not Reply" is a user name, so try:
"Do Not Reply <[EMAIL PROTECTED]>"
and see how that goes

-----Original Message-----
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
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 [EMAIL PROTECTED]"
 
Does anyone know how to make it just say "Do Not Reply"?
 
Thanks
Brandon

Reply via email to