Bug #830 Updated: Make a 'from' parameter in the mail() function.

From: Date: Sat, 10 Oct 1998 22:48:02 +0000
Subject: Bug #830 Updated: Make a 'from' parameter in the mail() function.
Groups: php.dev 
Request: Send a blank email to php-dev+get-1793@lists.php.net to get a copy of this message
ID: 830 Updated by: jim Reported By: ca@kvl.dk Status: Closed Bug Type: Feature/Change Request Assigned To: Comments: You can simply pass a From: header in the fourth parameter to mail() -- ie: mail($to, $subject, $message, "From: me@there.com\nX-Mailer: PHP-Script/1.0"); You may need to tweak your sendmail configuration to allow this forging of the From: header, but that would be true even if it were built-in to PHP. Full Bug description available at: http://ca.php.net/bugs.php3?id=830 -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1793) next »