Re: Re: mail() problems

From: Date: Thu, 01 Aug 2002 04:14:06 +0000
Subject: Re: Re: mail() problems
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-110620@lists.php.net to get a copy of this message
mailq's empty. i'll try a real address and see if i get a bounce notice. * Manuel Lemos (mlemos@acm.org) wrote: > Hello, > > On 07/31/2002 11:55 PM, Dan Radom wrote: > >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 > > Are you sure the message is not stuck in the mail queue for some reason? > Did you do mailq to see if it is still there? > > If it isn't and it bounced it should have gone to that $email address. > If you set to foo@bar.net, you will not see the bounced message and will > probably miss the reason why it bounced. > > > > > > >* 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 (#110620) next »