MailQueryBuilder
Contents
[
Hide
]MailQueryBuilder class
Represents the builder of search expression.
Note: By default, the result is the intersection (AND function) of all the messages that match those keys. To join keys by OR function, please, use Or() method of this class
Constructors
| Name | Description |
|---|---|
| MailQueryBuilder (2 overloads) | Initializes a new instance of the MailQueryBuilder class. |
Methods
| Name | Description |
|---|---|
| Clear | Clears query. |
| get_Bcc | Gets the field that allows to find messages that contain the specified string in the envelope structure’s BCC field. |
| get_Body | Gets the field that allows to find messages that contain the specified string in the body of the message. |
| get_Cc | Gets the field that allows to find messages that contain the specified string in the envelope structure’s CC field. |
| get_DefaultEncoding | Gets default encoding (charset) for query builder |
| get_From | Gets the field that allows to find messages that contain the specified string in the envelope structure’s FROM field. |
| get_InternalDate | Gets the field that allows to find messages by internal date. |
| get_KeyCollection | Gets the key collection. |
| get_OrderByCollection | Gets the key collection. |
| get_SentDate | Gets the field that allows to find messages by sent date. |
| get_Subject | Gets the field that allows to find messages that contain the specified string in the envelope structure’s SUBJECT field. |
| get_Text | Gets the field that allows to find the messages that contain the specified string in the headers (subject, from, to, cc) and body of the message. |
| get_To | Gets the field that allows to find messages that contain the specified string in the envelope structure’s TO field. |
| GetOptions | |
| GetQuery | Gets the query. |
| Or | Search messages that match either search key. Provides disjunction between two expressions (OR). |