Re: [PHP] return path of mail function

2006-04-03 Thread Curt Zirzow
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)

Re: [PHP] return path of mail function

2006-04-03 Thread sub
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:

Re: [PHP] return path of mail function

2006-04-03 Thread Chris
[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

Re: [PHP] return path of mail function

2006-04-02 Thread Chris
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 .

Re: [PHP] return path of mail function

2006-04-02 Thread Chris
[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

Re: [PHP] return path of mail function

2006-04-02 Thread sub
~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

Re: [PHP] return path of mail function

2006-04-02 Thread sub
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