OlRuleActionType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the type of rule action for a rule.
public enum class OlRuleActionType
public enum OlRuleActionType
Public Enum OlRuleActionType
- Inheritance
-
OlRuleActionType
Fields
Name | Value | Description |
---|---|---|
olRuleActionUnknown | 0 | Unrecognized rule action. |
olRuleActionMoveToFolder | 1 | Rule action is to move the message to the specified folder. |
olRuleActionAssignToCategory | 2 | Rule action is to assign categories to the message. |
olRuleActionDelete | 3 | Rule action is to delete the message. |
olRuleActionDeletePermanently | 4 | Rule action is to permanently delete the message. |
olRuleActionCopyToFolder | 5 | Rule action is to copy the message to a specified folder. |
olRuleActionForward | 6 | Rule action is to forward the message to the specified recipients. |
olRuleActionForwardAsAttachment | 7 | Rule action is to forward the message as an attachment to the specified recipients. |
olRuleActionRedirect | 8 | Rule action is to redirect the message to the specified recipients. |
olRuleActionServerReply | 9 | Rule action is to request the server to reply with the specified mail item. |
olRuleActionTemplate | 10 | Rule action is to use the specified template (.oft) file as a form template. |
olRuleActionFlagForActionInDays | 11 | Rule action is to flag the message for action in the specified number of days. |
olRuleActionFlagColor | 12 | Rule action is to flag the message with a specified colored flag. |
olRuleActionFlagClear | 13 | Rule action is to clear the message flag. |
olRuleActionImportance | 14 | Rule action is to mark the message with the specified level of importance. |
olRuleActionSensitivity | 15 | Rule action is to mark the message with the specified level of sensitivity. |
olRuleActionPrint | 16 | Rule action is to print the message on the default printer. |
olRuleActionPlaySound | 17 | Rule action is to play a sound file. |
olRuleActionStartApplication | 18 | Rule action is to run an .exe file. |
olRuleActionMarkRead | 19 | Rule action is to mark the message as read. |
olRuleActionRunScript | 20 | Rule action is to run a script. |
olRuleActionStop | 21 | Rule action is to stop processing more rules. |
olRuleActionCustomAction | 22 | Rule action is to perform a custom action. |
olRuleActionNewItemAlert | 23 | Rule action is to display the specified text in the New Item Alert dialog box. |
olRuleActionDesktopAlert | 24 | Rule action is to display a desktop alert. |
olRuleActionNotifyRead | 25 | Rule action is to request read notification for the message being sent. |
olRuleActionNotifyDelivery | 26 | Rule action is to request delivery notification for the message being sent. |
olRuleActionCcMessage | 27 | Rule action is to cc the message to specified recipients. |
olRuleActionDefer | 28 | Rule action is to defer delivery of the message by the specified number of minutes. |
olRuleActionMarkAsTask | 29 | Rule action is to mark the message as a task. |
olRuleActionClearCategories | 30 | Rule action is to clear all the categories assigned to the message. |
Remarks
The list of rule action types in this enumeration includes all the rule actions that the Rules and Alerts Wizard supports. Note that while you can programmatically enumerate all the rule actions for a rule, you can programmatically create a rule with only the most commonly used rule actions. For more information, see Specify Rule Actions