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

Re: [PHP] Return Path

2005-08-06 Thread Sebastian
try using -f mail($toemail, $subject, $message, $from, '-f [EMAIL PROTECTED]'); [EMAIL PROTECTED] wrote: I don't seem to be able to set the return path using the mail() function. I can't figure out why from will let me set it, but not the return path. $headers = 'From: [EMAIL PROTECTED]' .

Re: [PHP] Return Path [SOLVED]

2005-08-06 Thread sub
, 2005 6:12 AM Subject: Re: [PHP] Return Path try using -f mail($toemail, $subject, $message, $from, '-f [EMAIL PROTECTED]'); [EMAIL PROTECTED] wrote: I don't seem to be able to set the return path using the mail() function. I can't figure out why from will let me set it, but not the return

Re: [PHP] Return-Path header and sending email with php

2004-01-26 Thread Marek Kilimajer
You can use a class that sends mails by connecting directly to smtp server, e.g. http://www.phpclasses.org/mimemessage Chris Balay wrote: Good Day Coders - I have built a newsletter program with php. It sends out an e-mail to a couple thousand subcribers every day. All works well. My problem

Re: [PHP] Return-Path header and sending email with php

2004-01-25 Thread David T-G
Chris -- You have started a new thread by taking an existing message and replying to it while merely changing the Subject: line. That is bad, because it breaks threading. Whenever you reply to a message, your mail client generates a References: header that tells all recipients to which

Re: [PHP] Return path (php/sendmail)

2002-04-12 Thread Analysis Solutions
Hi Anthony: On Fri, Apr 12, 2002 at 03:27:14AM -0400, Anthony Rodriguez wrote: My Web hosting provider runs php (4.1.1) / sendmail (8.10.2) / apache (1.3.20) / linux red hat (6.2) and I don't get bounced e-mails. Put a from line in the additional headers argument: mail($To, $Subject,

Re: [PHP] Return-Path

2002-04-05 Thread Jason Wong
On Friday 05 April 2002 20:49, Anthony Rodriguez wrote: Can you help me? When I call the following script: (1) ?php (2) mail([EMAIL PROTECTED], (3) Test, (4) Test, (5) From:SBW Research [EMAIL PROTECTED]\r\n, (6) Return-Path:[EMAIL PROTECTED]\r\n); (7) exit; (8) ?