What are the values of the variables, assuming you set values to the variables.
$to="me@somewhere.com";
$subject="What is this";
$message="This is good stuff";
mail($to,$subject,$message);
You do not need the headers right away, but try something like this first and make sure it works. The headers are userful for supplying other information, but get mail working first. HEADERS are optional.