On 07/18/2003 12:00 PM, Brian S. Drexler wrote:
Ok, I want to specify who the mail is coming from by using the sendmail_path
option in the PHP.ini. I've added the [EMAIL PROTECTED] to it, but I want
to be able to dynmaically change [EMAIL PROTECTED] to [EMAIL PROTECTED] or
whatever else.
From the php website, it appears that the [EMAIL PROTECTED] can be
put in the fifth parameter of the mail() function:
Example 3. Sending mail with extra headers and setting an additional
command line parameter.
mail([EMAIL PROTECTED], the subject, $message,
From: [EMAIL PROTECTED],
* Thus wrote Lowell Allen ([EMAIL PROTECTED]):
return-path for emails is something like Return-Path:
[EMAIL PROTECTED]. I had accepted that I could not change
the return-path value with PHP, but reading about this fifth parameter
renewed my hope that I could.
I tried adding a fifth
Ok, I want to specify who the mail is coming from by using the sendmail_path
option in the PHP.ini. I've added the [EMAIL PROTECTED] to it, but I want
to be able to dynmaically change [EMAIL PROTECTED] to [EMAIL PROTECTED] or
whatever else. Anyone have any ideas how I can do this? I'm pulling
Ok, I want to specify who the mail is coming from by using the
sendmail_path
option in the PHP.ini. I've added the [EMAIL PROTECTED] to it, but I want
to be able to dynmaically change [EMAIL PROTECTED] to [EMAIL PROTECTED] or
whatever else. Anyone have any ideas how I can do this? I'm
11:09 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] Mail From option in PHP.ini
Ok, I want to specify who the mail is coming from by using the
sendmail_path
option in the PHP.ini. I've added the [EMAIL PROTECTED] to it, but I want
to be able to dynmaically change [EMAIL
be none-the-wiser unless he really wants to sift through
the headers.
- Original Message -
From: Brian S. Drexler [EMAIL PROTECTED]
To: 'CPT John W. Holmes' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 4:10 PM
Subject: RE: [PHP] Mail From option in PHP.ini
I tried
or httpd.conf...Thanks for the
suggestion though...
-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 11:09 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] Mail From option in PHP.ini
Ok, I want to specify who the mail
, 2003 11:16 AM
To: [EMAIL PROTECTED]; 'CPT John W. Holmes';
[EMAIL PROTECTED]
Subject: Re: [PHP] Mail From option in PHP.ini
the sendmail_path in php.ini is to do with where abouts the sendmail program
is located, not where your sending mail from...
if you define the extra headers in the mail
);
The commented out ones were also tried
-Original Message-
From: sven [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 11:23 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Mail From option in PHP.ini
... and how about this?
$headers .= Return-Path: $email_address_from_your_database
I take it you've also tried setting Reply-To: ??
Same format as From:
Mark
-Original Message-
From: Brian S. Drexler [mailto:[EMAIL PROTECTED]
Sent: 18 July 2003 16:25
To: 'sven'; php-general
Subject: RE: [PHP] Mail From option in PHP.ini
No, I tried this too. Here is what I've tried
Yes, sorry...forgot to include that one...:-)
-Original Message-
From: M.A.Bond [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 11:31 AM
To: 'sysadmin'; 'sven'; php-general
Subject: RE: [PHP] Mail From option in PHP.ini
I take it you've also tried setting Reply-To: ??
Same format
that one...:-)
-Original Message-
From: M.A.Bond [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 11:31 AM
To: 'sysadmin'; 'sven'; php-general
Subject: RE: [PHP] Mail From option in PHP.ini
I take it you've also tried setting Reply-To: ??
Same format as From:
Mark
GREAT!!! I guess I need to RTFM...:-) Thanks again for all your help
everyone!
-Original Message-
From: Mark [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 11:38 AM
To: [EMAIL PROTECTED]; 'M.A.Bond'; 'sven'; 'php-general'
Subject: RE: [PHP] Mail From option in PHP.ini
From
14 matches
Mail list logo