$headers .= "From: $emailinvuller \n";
should be
$headers = "From: $emailinvuller \n";
mail($email,$subject,$message,"$headers");
should be
mail($email,$subject,$message,$headers);
so far thats what ive deciphered... this is some wildly put together code
even more so, idk why u are using extract ($_POST) and trusting all the other input...
php.net wrote:
Warning
Do not use extract() on untrusted data, like user-input ($GET, ...).
you should step through each variable with a foreach, apply strip slashes and assign a variable (or at the very least re-build the $POST array with checked values) and then put them in the output "form"
no offense to you but the way you are building your output is a little rough around the edges