Just replace the last line with: @mail ($To,$Subject,$Message,"From: $EmailSender\nReply-To: $EmailSender);
-- Kind regards, Yuri. >>>> www.AceHoster.com <<<< Quality web hosting "Dean Ouellette" <[EMAIL PROTECTED]> ???????/???????? ? ???????? ?????????: 000e01c1eef4$07cbeb40$0200a8c0@yoda">news:000e01c1eef4$07cbeb40$0200a8c0@yoda... > > I have a tell a friend script and got the php script from a friend to > make it work. I am a newbie so still do not fully udners stand it. > Here is the problem, it puts the following at the top of each e-mail: > X-Mailer: PHP/4.1.2 > > > Here is the script: > > <?php > $Subject = "Look at this, I think you will like it"; //The Emails > subject > $Email[] = "[EMAIL PROTECTED]"; > reset ($Email); > while (list(, $To) = each ($Email)) { > @mail ($To,$Subject,$Message,"From: $EmailSender\nReply-To: > $EmailSender\nX-Mailer: PHP/".phpversion()); > } > > ?> > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php