On Sun, Apr 02, 2006 at 10:34:48PM -0700, [EMAIL PROTECTED] wrote:
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)
You are better off using the 5th paramater to mail() instead..
mail($to, $sub, $msg, $headers, -f $return);
And what if that doesn't work? Is there a 3rd way of doing it that might
work?
~Drew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
[EMAIL PROTECTED] wrote:
You are better off using the 5th paramater to mail() instead..
mail($to, $sub, $msg, $headers, -f $return);
And what if that doesn't work? Is there a 3rd way of doing it that might
work?
Ask your host if they allow you to change it on the fly. Explain what
you're
I'm having a problem setting the return-path using the mail function. I seem to
be able to modify any of the other header information I want, but not this one
item.
Here's my code:
$headers = Return-Path: Test test@test.com\r\n .
From: Test test@test.com\r\n .
Reply-To: Test
Andrew Darrow wrote:
I'm having a problem setting the return-path using the mail function. I seem to be able to modify any of the other header information I want, but not this one item.
Here's my code:
$headers = Return-Path: Test test@test.com\r\n .
From: Test test@test.com\r\n .
[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
~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
so here http://drewpydraws.com/phpinfo.php
~Drew
www.drewpydraws.com
- Original Message -
From: Chris [EMAIL PROTECTED]
To: Andrew Darrow [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Sunday, April 02, 2006 5:02 PM
Subject: Re: [PHP] return path of mail function
Andrew Darrow
8 matches
Mail list logo