hi,

> I don't understand this. I can set headers in fourth argument to mail
> function so I can send
> mail("[EMAIL PROTECTED]","Hello","msgbody","From:spammer")
> If user does not set 4th argumment mail is sent with from [EMAIL PROTECTED]

if you omit the 4th argument, it's your MAIL TRANSFER AGENT (i.e.
qmail, sendmail, exim, ...) which puts in the [EMAIL PROTECTED] and
not PHP. have a look at your MTA's manual for this problem.

Kind Regards,
  Daniel Lorch



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to