Re: sendmail_from in linux installation
> > The "from" in your mail header therefore comes from your mail transfer
> > agent and has little to do with PHP. therefore you have to look for
> > this problem there.
>
> I don't understand this. I can set headers in fourth argument to mail
> function so I can send
>
> mail("somebody@foo.bar","Hello","msgbody","From:spammer")
> If user does not set 4th argumment mail is sent with from
nobody@dsland.org
This is not a bug in PHP. You should check the settings of your mail
transfer agent (sendmail, probably).
Sander
Thread (8 messages)