RuleActions.ForwardAsAttachment property (Outlook)

Returns a SendRuleAction object with SendRuleAction.ActionType being olRuleActionForwardAsAttachment. Read-only.

Syntax

expression. ForwardAsAttachment

expression A variable that represents a RuleActions object.

Remarks

Use the returned SendRuleAction object when enumerating the rule actions of an existing rule or when creating a new rule that specifies forwarding a message as an attachment to specific recipients as an action.

This property of the RuleActions collection always returns a SendRuleAction object regardless of whether the rule associated with this RuleActions collection has defined such a rule action. If the rule has defined and enabled such a rule action, then SendRuleAction.Enabled will be True.

See also

RuleActions Object

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.