RuleCondition Object (Outlook)

The RuleCondition object represents either a condition that must be met before a rule executes, or an exception condition that must not be met before a rule executes.

Version Added: Outlook 2007

RuleCondition is the base class for rule conditions that are supported in programmatic rule creation. The classes derived from RuleCondition include:

The Rules object model provides partial parity with the Rules and Alerts Wizard in the Outlook user interface. It supports the most commonly used rule actions and conditions. Although it does not support creating rules with each rule action or rule condition that the Wizard supports, you can still enumerate and enable these rule actions and conditions in existing rules.

For more information on rule conditions, see Specifying Rule Conditions and How to: Create a Rule to Move Specific E-mails to a Folder.