Try this:
<?php
if ($submit) {
if (($mailfrom) && ($subject) && ($body)) {
$mailto = "youraddress@isp.com";
if (mail ($mailto, $subject, $body, "From: $mailfrom")) {
echo "Thank your for contacting us!";
} else {
echo "Sorry, your email could not be sent.";
}
} else {
echo "Please fill out all the form's required fields.";
}
}
?>
__________________ <a href=\"http://www.upstark.com\">www.upstark.com</a> |