> Hi list, > > I trying to send mail using PHP's mail() function without success. My > email > is rejected because it goes with apache@localhost. I've tried everything > put > a diferent from in header etc. > > Does anyone have a clue > > My system is a RedHAT 7, PHP4.2.3, sendmail > > thank's n advance
Probably need to set a FROM header in your mail $header = "FROM: [EMAIL PROTECTED]"; mail($to,$subject,$body,$header); Or there is a setting in php.ini that sets this, too. Maybe try that, if you can. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php