Exceptions

The Exceptions element identifies the exceptions that represent all the available rule exception conditions for an Inbox rule.

<Conditions>
   <Categories/>
   <ContainsBodyStrings/>
   <ContainsHeaderStrings/>
   <ContainsRecipientStrings/>
   <ContainsSenderStrings/>
   <ContainsSubjectOrBodyStrings/>
   <ContainsSubjectStrings/>
   <FlaggedForAction/>
   <FromAddresses/>
   <FromConnectedAccounts/>
   <HasAttachments/>
   <Importance/>
   <IsApprovalRequest/>
   <IsAutomaticForward/>
   <IsAutomaticReply/>
   <IsEncrypted/>
   <IsMeetingRequest/>
   <IsMeetingResponse/>
   <IsNDR/>
   <IsPermissionControlled/>
   <IsReadReceipt/>
   <IsSigned/>
   <IsVoicemail/>
   <ItemClasses/>
   <MessageClassifications/>
   <NotSentToMe/>
   <SentCcMe/>
   <SentOnlyToMe/>
   <SentToAddresses/>
   <SentToMe/>
   <SentToOrCcMe/>
   <Sensitivity/>
   <WithinDateRange/>
   <WithinSizeRange/>
</Conditions>

RulePredicatesType

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child elements

Element Description
Categories
Contains the categories that must be applied to an incoming message in order for the condition or exception to apply.
ContainsBodyStrings
Indicates the strings that must appear in the body of incoming messages in order for the condition or exception to apply.
ContainsHeaderStrings
Indicaqtes the strings that must appear in the headers of incoming messages in order for the condition or exception to apply.
ContainsRecipientStrings
Indicates the strings that must appear in either the ToRecipients or CcRecipients properties of incoming messages in order for the condition or exception to apply.
ContainsSenderStrings
Indicates the strings that must appear in the From property of incoming messages in order for the condition or exception to apply.
ContainsSubjectOrBodyStrings
Indicates the strings that must appear in either the body or the subject of incoming messages in order for the condition or exception to apply.
ContainsSubjectStrings
Indicates the strings that must appear in the subject of incoming messages in order for the condition or exception to apply.
FlaggedForAction
Specifies the flag for action value that must appear on incoming messages in order for the condition or exception to apply.
FromAddresses
Indicates the e-mail addresses from which incoming messages must be sent in order for the condition or exception to apply.
FromConnectedAccounts
Represents the e-mail account names from which incoming messages have to have been aggregated in order for the condition or exception to apply.
HasAttachments
Indicates whether incoming messages have to have attachments in order for the condition or exception to apply.
Importance
Specifies the importance that is stamped on incoming messages in order for the condition or exception to apply.
IsApprovalRequest
Indicates whether incoming messages must be approval requests in order for the condition or exception to apply.
IsAutomaticForward
Indicates whether incoming messages must be automatic forwards in order for the condition or exception to apply.
IsAutomaticReply
Indicates whether incoming messages must be automatic replies in order for the condition or exception to apply.
IsEncrypted
Indicates whether incoming messages must be S/MIME encrypted in order for the condition or exception to apply.
IsMeetingRequest
Indicates whether incoming messages must be meeting requests in order for the condition or exception to apply.
IsMeetingResponse
Indicates whether incoming messages must be meeting responses in order for the condition or exception to apply.
IsNDR
Indicates whether incoming messages must be non-delivery reports (NDRs) in order for the condition or exception to apply.
IsPermissionControlled
Indicates whether incoming messages must be permission controlled (RMS protected) in order for the condition or exception to apply
IsReadReceipt
Indicates whether incoming messages must be read receipts in order for the condition or exception to apply.
IsSigned
Indicates whether incoming messages must be S/MIME signed in order for the condition or exception to apply.
IsVoicemail
Indicates whether incoming messages must be voice mail messages in order for the condition or exception to apply.
ItemClasses
Represents the item classes that must be stamped on incoming messages in order for the condition or exception to apply.
MessageClassifications
Represents the message classifications that must be stamped on incoming messages in order for the condition or exception to apply.
NotSentToMe
Indicates whether the owner of the mailbox must not be in the ToRecipients property of the incoming messages in order for the condition or exception to apply.
SentCcMe
Indicates whether the owner of the mailbox has to be in the CcRecipients property of incoming messages in order for the condition or exception to apply.
SentOnlyToMe
Indicates whether the owner of the mailbox has to be the only one in the ToRecipients property of incoming messages in order for the condition or exception to apply.
SentToAddresses
Indicates the e-mail addresses that incoming messages have to have been sent to in order for the condition or exception to apply.
SentToMe
Indicates whether the owner of the mailbox has to be in the ToRecipients property of incoming messages in order for the condition or exception to apply.
SentToOrCcMe
Indicates whether the owner of the mailbox has to be in either a ToRecipients or CcRecipients property of incoming messages in order for the condition or exception to apply.
Sensitivity
Indicates the sensitivity that must be stamped on incoming messages in order for the condition or exception to apply.
WithinDateRange
Specifies the date range within which incoming messages have to have been received in order for the condition or exception to apply.
WithinSizeRange
Specifies the minimum and maximum sizes that incoming messages must be in order for the condition or exception to apply.

Parent elements

Element Description
Rule (RuleType)
Contains a single rule and represents a rule in a user's mailbox.

Text value

None.

Remarks

The rule predicates are used as rule conditions or exceptions.

The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.

Element information

Namespace
http://schemas.microsoft.com/exchange/services/2006/types
Schema Name
Types schema
Validation File
Types.xsd
Can be Empty
True

See also

Conditions