I think that's what he's trying, but he's missing the fact that he
needs to include the actual "From: " that you've specified.
In other words, I think he's doing:
mail("someone@xxxxxxxxxxxxx", "Subject", "Body", "someone@xxxxxxxx");
instead of:
mail("someone@xxxxxxxxxxxxx", "Subject", "Body",
"From:webmaster@xxxxxxxx");
On Oct 31, 2006, at 10:55 PM, M.Sokolewicz wrote:
Why can't you just add a
From: Registrar <registrar@xxxxxxxxxxxx>
header? =/
- tul
Chris wrote:
Beauford wrote:
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", "-fregistrar@xxxxxxxxxxxxxxxxxxxx");
It still says it comes from:
Nobody [nobody@xxxxxxxxxxxxxxxx]; on behalf of; Registrar
[-fregistrar@xxxxxxxxxxxx]
That's something different entirely to what your original email said.
Your mail server is adding that, it's not a php setting you can
change.
If you look at the mail source, it will have an extra header in
there (can't remember what it is but check against this email -
something like "Sender" or "Sender-Address").
--
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