While using Microsoft Exchange Server services, you may need to define different rules for the inbox folder. These rules are applied to the messages such as moving a message to a folder, deleting a message, etc. An inbox rule is comprised of conditions and the actions to be performed when the conditions are met. In this article, you will learn how to create and update inbox rules on MS Exchange Server in Java.