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
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
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]' .
, 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
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
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
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,
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) ?
13 matches
Mail list logo