Skip to content

Latest commit

 

History

History
81 lines (59 loc) · 3.4 KB

Outlook.RuleConditions.md

File metadata and controls

81 lines (59 loc) · 3.4 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
RuleConditions object (Outlook)
vbaol11.chm3172
vbaol11.chm3172
Outlook.RuleConditions
e8e9a05a-b36b-add2-b294-8cdc5a97e119
06/08/2017
medium

RuleConditions object (Outlook)

Contains a set of RuleCondition objects or objects derived from RuleCondition, representing the conditions or exception conditions that must be satisfied in order for the Rule to execute.

Remarks

The RuleConditions object include both rule conditions and rule exceptions. The type of rule condition that can be added to a RuleConditions collection depends upon the Rule.RuleType.

The RuleConditions object is a fixed collection. A RuleCondition object or a type that is derived from the RuleCondition object cannot be added or removed from the RuleConditions 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 conditions, see Specifying Rule Conditions and How to: Create a Rule to Move Specific Emails to a Folder.

Methods

Name
Item

Properties

Name
Account
AnyCategory
Application
Body
BodyOrSubject
Category
CC
Class
Count
FormName
From
FromAnyRSSFeed
FromRssFeed
HasAttachment
Importance
MeetingInviteOrUpdate
MessageHeader
NotTo
OnLocalMachine
OnlyToMe
OnOtherMachine
Parent
RecipientAddress
SenderAddress
SenderInAddressList
SentTo
Session
Subject
ToMe
ToOrCc

See also

RuleConditions Object Members Outlook Object Model Reference

[!includeSupport and feedback]