ImapSearchParameter Class
Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9313)
Represents a single IMAP search criterion.
Syntax
public class ImapSearchParameter
Inherited Members
Properties
| Name | Description |
|---|---|
| All | All messages. |
| ChildCount | Gets a count of the child nodes. |
| Deleted | Messages that have the Deleted flag set. |
| Item[Int32] | Gets a child node at the specified index. |
| Name | Gets a name (keyword of the search criteria) of the current leaf node. Calling on the inner node returns null (Nothing in VB.NET). |
| New | Messages that have the Recent flag set and Seen flag not set. |
| NotRecent | Messages that don't have the Recent flag set. |
| NotSeen | Messages that don't have the Seen flag set. Equivalent too Unread |
| Recent | Messages that have the Recent flag set. |
| Type | Gets a type of the current node. |
| Unread | Messages that don't have the Seen flag set. Equivalent too NotSeen |
| Value | Gets a value (argument of the search criteria) of the current leaf node. Calling on the inner node returns null (Nothing in VB.NET). |
Methods
| Name | Description |
|---|---|
| And(ImapSearchParameter[]) | Multiple criteria combined using the AND operator - only messages that match all the criteria are matched. |
| Arrived(DateTime) | Messages that arrived on the specified date (disregarding time). |
| Arrived(DateTime, DateTime) | Messages that arrived in the specified date interval (disregarding time). |
| Bcc(String) | Messages that contain the specified string in its Bcc field. |
| Body(String) | Messages that contain the specified string in its body. |
| CC(String) | Messages that contain the specified string in its CC field. |
| From(String) | Messages that contain the specified string in its From field. |
| FullText(String) | Messages that contain the specified string in its headers or body. |
| HasFlagsAllOf(ImapMessageFlags) | Messages with all the specified flags set. |
| HasFlagsNoneOf(ImapMessageFlags) | Messages with none of the specified flags set. |
| Header(String, String) | Messages that contain the specified string in the specified header. |
| Keyword(String) | Messages with the specified keyword flag set. |
| MessageSet(ImapMessageSet) | Messages which belong to a specified message set. |
| Not(ImapSearchParameter) | Only match messages that don't match the specified criteria. |
| NotBcc(String) | Messages that do not contain the specified string in its Bcc field. |
| NotCC(String) | Messages that do not contain the specified string in its CC field. |
| NotFrom(String) | Messages that do not contain the specified string in its From field. |
| NotKeyword(String) | Messages that do not have the specified keyword flag set. |
| NotTo(String) | Messages that do not contain the specified string in its To field. |
| Or(ImapSearchParameter[]) | Multiple criteria combined using the OR operator - messages that match any of the criteria are matched. |
| Sent(DateTime) | Messages that were sent on the specified date (disregarding time). |
| Sent(DateTime, DateTime) | Messages that were sent in the specified date interval (disregarding time). |
| Size(Int64, Int64) | Messages with a size within the specified interval. |
| Subject(String) | Messages that contain the specified string in its Subject field. |
| To(String) | Messages that contain the specified string in its To field. |
| ToString() | Returns a string representing this IMAP search criterion. |