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-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: http://www.php.net/

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-02 Thread sub
lain ~Drew www.drewpydraws.com - Original Message - From: "Chris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: 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

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 \r\n" . "Reply-To: Test \r\n"; $sub="Test s

Re: [PHP] return path of mail function

2006-04-02 Thread sub
orked either. I'm not sure what i'm missing here. If it would help to view the phpinfo from my host, you may do so here http://drewpydraws.com/phpinfo.php ~Drew www.drewpydraws.com - Original Message ----- From: "Chris" <[EMAIL PROTECTED]> To: "Andrew Darrow&q

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 \r\n" . "From: Test \r\n" . "Reply-To: Test \r\n"; $sub

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

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 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 is

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 posting

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, $Subjec

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) (2) mail("[EMAIL PROTECTED]", > (3) "Test", > (4) "Test", > (5) "From:SBW Research <[EMAIL PROTECTED]>\r\n", > (6) "Return-Path:<[EMAIL PROTECTED]>\r\n"); >