Conditions
Last modified: October 13, 2012
Applies to: Exchange Online | Exchange Server 2013 | Office 365
The Conditions element identifies the conditions that, when fulfilled, will trigger the rule actions for a 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
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child elements
|
Element |
Description |
|---|---|
|
Contains the categories that must be applied to an incoming message in order for the condition or exception to apply. |
|
|
Indicates the strings that must appear in the body of incoming messages in order for the condition or exception to apply. |
|
|
Indicates the strings that must appear in the headers of incoming messages in order for the condition or exception to apply. |
|
|
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. |
|
|
Indicates the strings that must appear in the From property of incoming messages in order for the condition or exception to apply. |
|
|
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. |
|
|
Indicates the strings that must appear in the subject of incoming messages in order for the condition or exception to apply. |
|
|
Specifies the flag for action value that must appear on incoming messages in order for the condition or exception to apply. |
|
|
Indicates the e-mail addresses from which incoming messages must be sent in order for the condition or exception to apply. |
|
|
Represents the e-mail account names from which incoming messages have to have been aggregated in order for the condition or exception to apply. |
|
|
Indicates whether incoming messages have to have attachments in order for the condition or exception to apply. |
|
|
Specifies the importance that is stamped on incoming messages in order for the condition or exception to apply. |
|
|
Indicates whether incoming messages must be approval requests in order for the condition or exception to apply. |
|
|
Indicates whether incoming messages must be automatic forwards in order for the condition or exception to apply. |
|
|
Indicates whether incoming messages must be automatic replies in order for the condition or exception to apply. |
|
|
Indicates whether incoming messages must be S/MIME encrypted in order for the condition or exception to apply. |
|
|
Indicates whether incoming messages must be meeting requests in order for the condition or exception to apply. |
|
|
Indicates whether incoming messages must be meeting responses in order for the condition or exception to apply. |
|
|
Indicates whether incoming messages must be non-delivery reports (NDRs) in order for the condition or exception to apply. |
|
|
Indicates whether incoming messages must be permission controlled (RMS protected) in order for the condition or exception to apply. |
|
|
Indicates whether incoming messages must be read receipts in order for the condition or exception to apply. |
|
|
Indicates whether incoming messages must be S/MIME signed in order for the condition or exception to apply. |
|
|
Indicates whether incoming messages must be voice mail messages in order for the condition or exception to apply. |
|
|
Represents the item classes that must be stamped on incoming messages in order for the condition or exception to apply. |
|
|
Represents the message classifications that must be stamped on incoming messages in order for the condition or exception to apply. |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
Indicates the e-mail addresses that incoming messages have to have been sent to in order for the condition or exception to apply. |
|
|
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. |
|
|
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. |
|
|
Indicates the sensitivity that must be stamped on incoming messages in order for the condition or exception to apply. |
|
|
Specifies the date range within which incoming messages have to have been received in order for the condition or exception to apply. |
|
|
Specifies the minimum and maximum sizes that incoming messages must be in order for the condition or exception to apply. |
Parent elements
|
Element |
Description |
|---|---|
|
Contains a single rule and represents a rule in a user's mailbox. |