Hi:

I am creating a contact form and its going through all the stops correctly but for some reason I am not getting a email.

here is my php code.


PHP Code:
<?php

    $your_name 
$_GET['nameField'];
    
$your_facility $_GET['facilityField'];
    
$your_number $_GET['numberField'];
    
$your_email $_GET['emailField'];
    
$your_subject $_GET['subjectField'];
    
$your_ddBox $_GET['ddBox'];
    
$your_message $_GET['messageField'];
    
    
$recipient_email "[email protected]";
    
    
$subject "from " $your_email;
    
    
$headers "From: " $your_name "<" $your_email ">\n";
    
$headers .= 'Content-type: text/html; charset=iso8859-1';
    
    
$content "<html><head><title>Contact Letter</title></head><body><br>";
    
$content .= "Name: <b>" $your_name "</b><br>";
    
$content .= "Facility: <b>" $your_facility "</b><br>";
    
$content .= "Phone: <b>" $your_number "</b><br>";
    
$content .= "Email: <b>" $your_email "</b><br>";
    
$content .= "Directed To: <b>" $your_dropdown "</b><br>";
    
$content .= "Subject: <b>" $your_subject "</b><br>";
    
$contact .= $your_message;
    
$content .= "<br></body></html>";
    
    
mail($recipient_email,$subject,$content,$headers);
?>
<html>
<body>
Your Message has been sent, Thank you!
</body>
</html>
<script>resizeTo(300, 300)</script>

my text fields have the names:
name - var: nameField
facility - var: facilityField
phone - var: numberField
email - var: emailField
subject - var: subjectField
ddBox(dropdown)
message - var:messageField

I think that it is something in my php code that I am not doing correctly. It's not hitting the mail server. any thoughts?