I have created several simple PHP mail forms in the past. For some reason, this form is not working. When submitted, the form effectively posts to my "sendmail.php" page, but I am still not receiving the email. What am I doing wrong. I have pasted my link and coding below. Any help would be appreciated.
http://www.aa5design.com/newsite/mainpages/contact_us/contact_us.htm
contact.htm
<form action="sendmail.php" method="post">
<div align="left">
<p align="right"><font color="#FF0000"></font><font size="2">First
Name</font> <font size="2">
<input type="text" name="firstname">
<br>
</font><font color="#FF0000"></font><font size="2">Last Name
<input type="text" name="lastname">
<br>
Company
<input type="text" name="company">
<br>
</font><font color="#FF0000"></font><font size="2">Phone
<input type="text" name="phone">
<br>
Alt. Phone
<input type="text" name="altphone">
<br>
Fax
<input type="text" name="fax">
<br>
</font><font color="#FF0000"></font><font size="2">Email
<input type="text" name="email">
<br>
Street Address
<input type="text" name="address">
<br>
<input type="text" name="address2">
<br>
City
<input type="text" name="city">
<br>
State
<input type="text" name="state">
<br>
Zip
<input type="text" name="zip">
</font></p>
<p align="right"><font size="2">Comments<br>
<textarea name="comments" rows="3"></textarea>
</font></p>
<p align="right"><font size="2">How were you referred to us?<br>
<textarea name="referral"></textarea>
<br>
</font><br>
<input type="submit" name="submit" value="Submit" />
<br>
</p>
</div>
</form>
sendmail.php
<?php # Script 2.2 - sendmail.php
$firstname= $POST['firstname'];
$lastname= $POST['lastname'];
$company = $POST['company'];
$phone = $POST['phone'];
$altphone = $POST['altphone'];
$fax = $POST['fax'];
$email = $POST['email'];
$address = $POST['address'];
$address2 = $POST['address2'];
$city = $POST['city'];
$state = $POST['state'];
$zip = $POST['zip'];
$comments = $POST['comments'];
$referral= $POST['referral'];
$msgbody = "Firstname: $firstname\nLastname: $lastname\nCompany: $company\nPhone: $phone\nAltphone: $altphone\nFax: $fax\nEmail: $email\nAddress: $address\nAddress2: $address2\nCity: $city\nState: $state\nZip: $zip\nComments: $comments\nReferral: $referral";
@mail("myemail@myemail.com", "AA5Design.com: Contact Us Form", stripslashes($msgbody), "From: $email");
echo "Thank you, <b>$name</b> for your interest.<br>
We will reply to you at <i>$email</i>.<br></p>";
?>