Sorry, this should be.
Which is (to address, the subject, the body of the message, and the from
address)
-----
That doesn't work.
Here is what I have.
mail($email,$subject,$body,$from);
Which is (senders address, the subject, the body of the message, and the
from address)
The from address is taken from this, and I added the -f in front of it.
define("regaddress", "[EMAIL PROTECTED]");
It still says it comes from:
Nobody [EMAIL PROTECTED]; on behalf of; Registrar
[EMAIL PROTECTED]
Thanks
-----Original Message-----
From: Chris [mailto:[EMAIL PROTECTED]
Sent: October 31, 2006 9:38 PM
To: Beauford
Cc: 'PHP'
Subject: Re: [PHP] php.ini & ini_set
Beauford wrote:
> Can you be more specific. I only see 4 parameters and none of them apply.
Oops sent you to the wrong page.
http://www.php.net/manual/en/function.mail.php
There are 5 parameters:
bool mail ( string to, string subject, string message [, string
additional_headers [, string additional_parameters]] )
Look for this:
additional_parameters (optional)
and look at example 3.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php