fixed required statement in sendmessage.php