Exchange Web Services .NET Class Library
Exchange Web Services .NET Class Library
Exchange Web Services .NET
Independentsoft.Exchange
RuleConditions Class
RuleConditions Constructor
RuleConditions Properties
RuleConditions Methods

# RuleConditions Class

Identifies the conditions that, when fulfilled, will trigger the rule actions for a rule.
Inheritance Hierarchy
System
Object
Independentsoft.Exchange
RuleConditions

Namespace: Independentsoft.Exchange
Assembly: Independentsoft.Exchange (in Independentsoft.Exchange.dll) Version: 3.0.840.11238
Syntax
C#
VB
Copy

    public class RuleConditions

    Public Class RuleConditions

The RuleConditions type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| RuleConditions | Initializes a new instance of the RuleConditions class.

Top
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
Methods

| Name | Description
--- | --- | ---
| Equals | (Inherited from Object.)
| Finalize | (Inherited from Object.)
| GetHashCode | (Inherited from Object.)
| GetType | (Inherited from Object.)
| MemberwiseClone | (Inherited from Object.)
| ToString | (Inherited from Object.)

Top
See Also

#### Reference

Independentsoft.Exchange Namespace

Copyright 2025 Independentsoft

Send comments on this topic to support@independentsoft.de