Set the action of your form like this:
<form name='emailForm' method='post' action='process.php'>
now create a process.php page and store it in the same directory...make it look like this:
<?php
while(list($key,$val) = each($_POST)){
$message .= $key . ":: " . $val . "\n";
}
mail("youraddress@email.com","Your message subject",$message,"FROM: [email]anyemail@address.com[/email]");
//your thankyou page
header("Location: thankyou.html");
die();
?>
this is very VERY basic, but it should get you going in the right direction...