We do not allow sending emails through anonymous mail() function due to security reasons. Hence, you will need to send email through smtp authentication from your script. You can consider using the phpmailer script for sending out emails through smtp authentication. It is available for download at below URI:
http://downloads.softsyshosting.com/phpmailer-1.73.zip