Re: mail() function

From: Date: Thu, 15 Nov 2001 06:30:31 +0000
Subject: Re: mail() function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-74668@lists.php.net to get a copy of this message
> $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"? You cant... but try making it like this: $mailheaders = "FROM: Do Not Reply <DoNotReply@localhost>\nREPLY-TO: <DoNotReply@localhost>"; regards, Johan

« previous php.general (#74668) next »