Re: URGENT-HELP !!!!!!

From: Date: Fri, 30 Nov 2001 10:28:46 +0000
Subject: Re: URGENT-HELP !!!!!!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-76174@lists.php.net to get a copy of this message
Want to send "mail" through PHP script such that the receiver of that mail should not contain FROM header. I used mail() function with empty FROM header and even without FROM header, but the receiver is still getting FROM address as apache@domainname.com
You can't. The mail specification have to get a FROM header, but to make a solution you can make a FROM header like this: "FROM: Do Not Reply <DoNotReply@DoesNotExists.com>" regards, Johan

« previous php.general (#76174) next »