Exchange Web Services .NET Class Library
Exchange Web Services .NET Class Library
Exchange Web Services .NET
Independentsoft.Exchange
RuleConditions Class
RuleConditions Properties
Categories Property
ContainsBodyStrings Property
ContainsHeaderStrings Property
ContainsRecipientStrings Property
ContainsSenderStrings Property
ContainsSubjectOrBodyStrings Property
ContainsSubjectStrings Property
FlaggedForAction Property
FromAddresses Property
FromConnectedAccounts Property
HasAttachments Property
Importance Property
IsApprovalRequest Property
IsAutomaticForward Property
IsAutomaticReply Property
IsEncrypted Property
IsMeetingRequest Property
IsMeetingResponse Property
IsNDR Property
IsPermissionControlled Property
IsReadReceipt Property
IsSigned Property
IsVoiceMail Property
ItemClasses Property
MessageClassifications Property
NotSentToMe Property
Sensitivity Property
SentCcMe Property
SentOnlyToMe Property
SentToAddresses Property
SentToMe Property
SentToOrCcMe Property
WithinDateRange Property
WithinSizeRange Property

# RuleConditions Properties

The RuleConditions type exposes the following members.

Properties

| Name | 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 | Indicates 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.
| Sensitivity | Indicates the sensitivity that must be stamped on 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.
| 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.

Top
See Also

#### Reference

RuleConditions Class
Independentsoft.Exchange Namespace

Copyright 2025 Independentsoft

Send comments on this topic to support@independentsoft.de