MoveOrCopyRuleAction Object (Outlook)

Published: July 16, 2012

Represents an action that moves or copies a message.

Version Added: Outlook 2007

MoveOrCopyRuleAction is derived from the RuleAction object. Each rule is associated with a RuleActions object which has a CopyToFolder property and a MoveToFolder property. Each of these properties always returns a MoveOrCopyRuleAction object. MoveOrCopyRuleAction.ActionType distinguishes between the two action types. If the rule has an enabled rule action that copies or moves a message to the specified folder, then the corresponding MoveOrCopyRuleAction.Enabled would be True.

For more information on specifying rule actions, see Specify Rule Actions.

Community Additions

ADD
Show:
© 2014 Microsoft