Maybe you need to add the -f to your sendmail command? James
-----Original Message----- From: Anil Garg [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 2:06 PM To: [EMAIL PROTECTED] Subject: [PHP] e-mail hi i found a 'formmail' scripts from somewhere.. the problem is....the email which i get from this scripts has 'unprivilaged user' in the 'from' field. mail($form['recipient'], $form['sublect'],$mailbody, "From:Web User"); if i use this...in the from field..it says '[EMAIL PROTECTED]' I just need the from field to show 'Web User' (instead of 'unprivilaged user') Can i do this!! plz help thanks and regards anil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php