mail() problems

From: Date: Thu, 01 Aug 2002 01:47:16 +0000
Subject: mail() problems
Groups: php.general 
Request: Send a blank email to php-general+get-110601@lists.php.net to get a copy of this message
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. dan

« previous php.general (#110601) next »