invano.com then look at the php sniplets in the php tutorial. It'll help a lot.
PHP Code:
<?
echo("Thank you message goes here");
mail("you@yourdomain.com", "Subject goes here, " ,
$message,
"From: $email\r\nReply-To: $email\r\n");
?>
wanted something like that right?