nobody header

From: Date: Mon, 30 Apr 2001 08:26:34 +0000
Subject: nobody header
Groups: php.db 
Request: Send a blank email to php-db+get-8980@lists.php.net to get a copy of this message
hello, i hope you could help me with this, the script below gives me a from header = "Nobody"; and the $from which is supposed to be the header has been included in the body of the email. How can i make the $from to be placed in the header? $from = "eper@tridel.net"; $subject = "Changes on employee's personal data\n\n"; $message = $message."Changes on Employee's Personal Data since the last evaluation\n\n"; $message = $message."Employee's Name: $emplname, $empfname, $empmname\n"; $message = $message."Address: $address\n"; $message = $message."Telephone Number: $telno\n"; $message = $message."Civll Status: $civilstatus\n\n"; $message = $message."Name/s and Birthday/s of children born within the last 6 months\n"; $message = $message."Name: $name1 $name2 $name3\n"; $message = $message."Birthday: $bday1 $bday2 $bday3\n"; mail("eper@tridel.net", "$subject", "$message","$from"); thanx :)

« previous php.db (#8980) next »