> > in my php.ini, I have this set
> > sendmail_from = [EMAIL PROTECTED]
The first thing I'd do is verify if the script is really using the php.ini you
think it is by having the script output phpinfo.
_
Peek-a-boo FREE Tricks & Tre
On 10/25/07, Richard Heyes <[EMAIL PROTECTED]> wrote:
> Richard Heyes wrote:
> >> in my php.ini, I have this set
> >> sendmail_from = [EMAIL PROTECTED]
> >>
> >> yet when I do this command :("[EMAIL PROTECTED]","TEST
> >> MAIL","TESTING MAIL");
> >> I get this message Warning: mail() [function.mail
Richard Heyes wrote:
in my php.ini, I have this set
sendmail_from = [EMAIL PROTECTED]
yet when I do this command :("[EMAIL PROTECTED]","TEST
MAIL","TESTING MAIL");
I get this message Warning: mail() [function.mail]: "sendmail_from"
not set in php.ini or custom "From:" header missing in
C:\Ine
in my php.ini, I have this set
sendmail_from = [EMAIL PROTECTED]
yet when I do this command :("[EMAIL PROTECTED]","TEST
MAIL","TESTING MAIL");
I get this message Warning: mail() [function.mail]: "sendmail_from" not set
in php.ini or custom "From:" header missing in
C:\Inetpub\wwwroot\intranet\
Thanks.
-Josh
On Tue, 07 Sep 2004 16:55:24 -0500, Greg Donald <[EMAIL PROTECTED]> wrote:
>
>
> On Tue, 2004-09-07 at 16:52, Josh Close wrote:
> > When I'm using mail() to send an email, the user is always
> >
> > From: "Apache" <[EMAIL PROTECTED]>
> >
> > How would I get this to change? I didn
> How would I get this to change? I didn't see anything in php.ini or
> httpd.conf. I've found it's not possible to do a header rewrite with
> postfix either.
There is examples in the manual
http://us2.php.net/mail
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
On Tue, 2004-09-07 at 16:52, Josh Close wrote:
> When I'm using mail() to send an email, the user is always
>
> From: "Apache" <[EMAIL PROTECTED]>
>
> How would I get this to change? I didn't see anything in php.ini or
> httpd.conf. I've found it's not possible to do a header rewrite with
> postf
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. Anyo
* 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
> 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 PR
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
n S. Drexler" <[EMAIL PROTECTED]> wrote:
> 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
> Subje
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
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
'Return-Receipt-To' => '"' .$FullName.'" <'.$Email.'>',
//'Return-Path' => $Email,
'Subject' => 'Your Quote # '.$Theresult
);
The comm
From: skate [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 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
M group
> so it can only be set in the php.ini 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]
> Subje
should 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:
y 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 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 d
> 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 pu
Chris Knipe wrote:
> On Thu, Jul 11, 2002 at 02:29:11PM +0200, vins wrote:
> Allot of SMTP servers does quite a bit of sanity checking on the headers
> received from an email message.
Not in the west. They are too busy allowing in the commercial spam they
are sending themselves. Otherwise you'
On Thu, Jul 11, 2002 at 02:29:11PM +0200, vins wrote:
> Hi... I've just checked out a script from hotscripts.com that send email
> from and smtp server...
The mail() does exactly the same Nothing fancy about it.
> I've managed to say the email has come from a server that doesn't exist
> bu
Vins,
Yes, talk to port 25 of any smtp server using php. You would need to
implement the full RFCs on smtp and its re-inventing the wheel. There
are already classes to talk to whichever smtp server you want. Whichever
smtp server you sent the mail to would log it, and the server it came
from.
Use the header field in the mail function:
$header ="From: <[EMAIL PROTECTED]>\n>";
$header .="X-Sender: <[EMAIL PROTECTED]>\n";
$header .="X-Mailer: PHP\n";
$header .="Reply-To: <[EMAIL PROTECTED]>\n";
$header .="Return-Path: <[EMAIL PROTECTED]>\n";
...
mail($recipient, $subject,
You can set them using the header field in the mail function.
Checkout http://www.php.net/mail
Jan De Luyck
> -Original Message-
> From: PHP [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 20, 2001 11:26 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] mail from
>
>
> Hello all. Does any
> Hello all. Does anyone know how i can set up the "from " and "Return
> Address" fields in the mail functions in php?
mail("[EMAIL PROTECTED]", "subject.", "body.", "From: php@$SERVER_NAME\n");
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
26 matches
Mail list logo