[!--quoteo(post=364451:date=Apr 13 2006, 10:19 AM:name=michaellunsford)--][div class=\'quotetop\']QUOTE(michaellunsford @ Apr 13 2006, 10:19 AM) [snapback]364451[/snapback][/div][div class=\'quotemain\'][!--quotec--] This might not be perfect, but you should get the idea. since you're using the additional headers, I've added a simple spammer hack detector. the mail funciton follows. mailer.php [code] <? if((strpos($_POST['Name'],"\n",1)) OR (strpos($_POST['Name'],"\r",1)) OR (strpos($_POST['Email'],"\n",1)) OR (strpos($_POST['Email'],"\r",1))) die(); // check for email form hack attempts, if present, do nothing. mail("email@gmail.com","Subject","Message","From: ".$_POST['Name']." <".$_POST['Email'].">"); // if there were no hack attempts, the following HTML will print. ?> <html> <head> <title>Thank You!</title> </head> <body> Thank you for sending me your information. </body> </html> [/code] [/quote] Wow thank you very much man. That's awesome! :)