AccountRuleCondition 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 a rule condition that evaluates whether an account was used to send a message.

AccountRuleCondition is derived from the RuleCondition object. Each rule is associated with a RuleConditions object which has an Account property. The Account property always returns a AccountRuleCondition object. If the rule has an enabled rule condition that the message is sent using a specified account, then AccountRuleCondition.Enabled would be True.

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

Show: