go to php.net and look at the mail() function, or go and do a search on sendmail (AKA the buggiest daemon in the world) that should do fine. but one curious thing id that ma friend of mine made a mailer on a fre hosting site but with the message came the header
reort abuse to:
blah@blah.blah
so dont try and make a combination of mail() and for llops or you may get banned for spam!