OlRuleExecuteOption Enumeration

Outlook Developer Reference

Specifies the type of messages in the specified folder or folders that a rule should be applied to.

Version Information
 Version Added:  Outlook 2007

Name Value Description
olRuleExecuteAllMessages 0 Executes a rule against all messages in the specified folder or folders.
olRuleExecuteReadMessages 1 Executes a rule against messages that have been read in the specified folder or folders.
olRuleExecuteUnreadMessages 2 Executes a rule against messages that have not been read in the specified folder or folders.