RuleActions object (Outlook)

The RuleActions object contains a set of RuleAction objects or objects derived from RuleAction, representing the actions that are executed on a Rule object.

Remarks

The RuleActions object is a fixed collection. RuleAction objects or types that derive from the RuleAction object cannot be added to or removed from the RuleActions object.

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 any 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 actions, see Specifying Rule Actions and How to: Create a Rule to Move Specific Emails to a Folder.

Methods

Name
Item

Properties

Name
Application
AssignToCategory
CC
Class
ClearCategories
CopyToFolder
Count
Delete
DeletePermanently
DesktopAlert
Forward
ForwardAsAttachment
MarkAsTask
MoveToFolder
NewItemAlert
NotifyDelivery
NotifyRead
Parent
PlaySound
Redirect
Session
Stop

See also

Outlook Object Model Reference

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.