Re: sendmail_from in linux installation

From: Date: Fri, 14 Dec 2001 20:28:48 +0000
Subject: Re: sendmail_from in linux installation
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-73840@lists.php.net to get a copy of this message
Hello, mail has a 5th param, that one works, like: mail ("derick@php.net", "Subject", "Body", "From: foo@php.net", "-fblaat@php.net"); will make the mail come from blaat@php.net Derick On Fri, 14 Dec 2001, Sander Roobol wrote: > > > 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 > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#73840) next »