The same as before:

Return-path: <[EMAIL PROTECTED]>
Envelope-to: [EMAIL PROTECTED]
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 [EMAIL PROTECTED]; Mon, 03 Apr 2006 00:35:34 -0500
To: [EMAIL PROTECTED]
Subject: Test sub
X-PHP-Script: www.drewpydraws.com/crap.php for ip address
From: Test <test@test.com>
Reply-To: Test <test@test.com>
Message-Id: <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <php-general@lists.php.net>
Sent: Sunday, April 02, 2006 10:31 PM
Subject: Re: [PHP] return path of mail function


> [EMAIL PROTECTED] wrote:
> > Safe mode is indeed off and sendmail_from has "no value". I've modified
the
> > code as below:
> >
> > $return="test@test.com";
> > $orig_sendmail_from = ini_get('sendmail_from');
> > ini_set('sendmail_from', $return);
> >
> > $headers =  "From: Test <test@test.com>\r\n" .
> >    "Reply-To: Test <test@test.com>\r\n";
> >
> > $sub="Test sub";
> > $msg="Test msg";
> > $to="[EMAIL PROTECTED]";
> >
> > 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

Reply via email to