If you have any questions, comments or suggestions, please feel free to contact us.
It looks like you forgot to complete all the required fields.
";
include ('includes/form.inc');
}
elseif ($validationOK) {
// prepare email body text
$Body = "";
$Body .= "Name: ";
$Body .= $Name;
$Body .= "\n";
$Body .= "Email: ";
$Body .= $Email;
$Body .= "\n";
$Body .= "URL: ";
$Body .= $URL;
$Body .= "\n";
$Body .= "Comments: ";
$Body .= $Comments;
$Body .= "\n";
// send email
$success = mail($EmailTo, $Subject, $Body, "From: <$Email>");
// redirect to success page
if ($success){
print "";
}
else{
print "The message could not be sent. Please try again in a few minutes.";
// print "";
}
}}
?>