Re: Re: mail() problems

From: Date: Thu, 01 Aug 2002 02:55:26 +0000
Subject: Re: Re: mail() problems
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-110610@lists.php.net to get a copy of this message
nope. all that did was prodice the following warning... Jul 31 20:53:47 mars sendmail[20790]: g712rkA20790: Authentication-Warning: mars.radom.org: nobody set sender to foo@bar.net using -f dan * Manuel Lemos (mlemos@acm.org) wrote: > Hello, > > On 07/31/2002 10:47 PM, Dan Radom wrote: > >I'm having provblems with the following script... > > > >mail("dan@radom.org", "www form submission", $message, "From: > >$email"); > > > >...the variables are being POSTed from a form, which does make it to > >sendmail. sendmail logs the following... > > > >Jul 31 19:32:47 mars sendmail[20605]: g711Wlu20605: from=nobody, size=81, > >class=0, nrcpts=0, msgid=<200208010132.g711Wlu20605@mars.radom.org>, > >relay=nobody@localhost > > > > > >the nrcpts=0 is obviously a concern here. This sendmail does handle mail > >for a few domains and does accept mail for localhost. Any ideas where > >I've gone wrong? All this was wokring with php 4.2.1 until a hard drive > >died. I rebuild the machine and installed php 4.2.2 and this is where I'm > >at. I'm using the same sendmail configuration. > > Try setting mail() 5th argument to "-f$email". > > > -- > > Regards, > Manuel Lemos > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#110610) next »