Convert interface to use sendMessage.php