Message Sent!
";
}
}
else {
echo "
There was a problem sending the message.
Please check you have "
."provided a valid email address. Click here to try again.";
}
}
else {
//if someone trys to type the url in directly, e.g. http://www.yourdomain/mailman.php?name=blah&email=blah&message=blah&id=blah
//this is the message they will see.
echo "Message NOT sent! Use the contact form!
";
exit;
}
?>