The same as before: Return-path: <nobody@xxxxxxxxxxxxxxxxxxxxxxxxx> Envelope-to: sub@xxxxxxxxxxxxxxx Delivery-date: Mon, 03 Apr 2006 00:35:34 -0500 Received: from nobody by amsterdam.servershost.net with local (Exim 4.52) id 1FQHiw-0000Kf-E4 for sub@xxxxxxxxxxxxxxx; Mon, 03 Apr 2006 00:35:34 -0500 To: sub@xxxxxxxxxxxxxxx Subject: Test sub X-PHP-Script: www.drewpydraws.com/crap.php for ip address From: Test <test@xxxxxxxx> Reply-To: Test <test@xxxxxxxx> Message-Id: <E1FQHiw-0000Kf-E4@xxxxxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 03 Apr 2006 00:35:34 -0500 X-Antivirus: AVG for E-mail 7.1.385 [268.3.4/299] Mime-Version: 1.0 Content-Type: text/plain ~Drew www.drewpydraws.com ----- Original Message ----- From: "Chris" <dmagick@xxxxxxxxx> To: <sub@xxxxxxxxxxxxxxx> Cc: <php-general@xxxxxxxxxxxxx> Sent: Sunday, April 02, 2006 10:31 PM Subject: Re: return path of mail function > sub@xxxxxxxxxxxxxxx wrote: > > Safe mode is indeed off and sendmail_from has "no value". I've modified the > > code as below: > > > > $return="test@xxxxxxxx"; > > $orig_sendmail_from = ini_get('sendmail_from'); > > ini_set('sendmail_from', $return); > > > > $headers = "From: Test <test@xxxxxxxx>\r\n" . > > "Reply-To: Test <test@xxxxxxxx>\r\n"; > > > > $sub="Test sub"; > > $msg="Test msg"; > > $to="sub@xxxxxxxxxxxxxxx"; > > > > mail($to, $sub, $msg, $headers); > > What headers do you get when you do this? > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php