On Thu, 7 Oct 2004 20:29:25 +0530, sagar <sagar@xxxxxxxxxxxxxxx> wrote: > I'm using mail("nsagarchand@xxxxxxxxx",$subject,$message,$mail_from); > > But i get an email with a from address as anonymous@<myserver.com> > > I want to show the from address to be like "From : Sagar" > plzz help me out What is $mail_from defined as? It should be a "From: " header with the required \r\n at the end. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php