Another thing you could do is send it as GET
and you would have
if (all filters passed) {
mail($contact_email,$_GET['subject'],$whateveryouwantinthemessage,'From: contactformsubmitted@website.com');
}
you would add all necessary filters separated with && or ||