SendRuleAction Object (Outlook)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents an action that sends a message to one or more recipients.

SendRuleAction is derived from the RuleAction object. Each rule is associated with a RuleActions object which has a CC property, a Forward property, a ForwardAsAttachment property, and a Redirect property. Each of these properties always returns a SendRuleAction object. SendRuleAction.ActionType distinguishes among these rule actions. If the rule has any of the above rule actions enabled, then the Enabled property of the corresponding SendRuleAction object would be True.

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

Show:
© 2016 Microsoft