RE: [PHP] mail from

From: Date: Mon, 20 Aug 2001 10:25:57 +0000
Subject: RE: [PHP] mail from
Groups: php.general 
Request: Send a blank email to php-general+get-63481@lists.php.net to get a copy of this message
Use the header field in the mail function: $header ="From: <fromme@nowhere.com>\n>"; $header .="X-Sender: <sender@nowhere.com>\n"; $header .="X-Mailer: PHP\n"; $header .="Reply-To: <replyto@nowhere.com>\n"; $header .="Return-Path: <return@nowhere.com>\n"; ... mail($recipient, $subject, $message, $header); hope this helps, Tony G. Bolaño

« previous php.general (#63481) next »