ImapQueryBuilder Class

Represents the builder of search expression that used by IMAP protocol.
Inheritance Hierarchy

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public sealed class ImapQueryBuilder : MailQueryBuilder

The ImapQueryBuilder type exposes the following members.

Constructors
  NameDescription
Public methodImapQueryBuilder
Initializes a new instance of the ImapQueryBuilder class.
Public methodImapQueryBuilder(Encoding)
Initializes a new instance of the ImapQueryBuilder class.
Properties
  NameDescription
Public propertyBcc
Gets the field that allows to find messages that contain the specified string in the envelope structure's BCC field.
(Inherited from MailQueryBuilder.)
Public propertyBody
Gets the field that allows to find messages that contain the specified string in the body of the message.
(Inherited from MailQueryBuilder.)
Public propertyCc
Gets the field that allows to find messages that contain the specified string in the envelope structure's CC field.
(Inherited from MailQueryBuilder.)
Public propertyDefaultEncoding
Gets default encoding (charset) for query builder
(Inherited from MailQueryBuilder.)
Public propertyESearchParameters
Gets or sets ESEARCH Parameters This method works only if server supports ESEARCH extension. Please, read more https://tools.ietf.org/html/rfc4315
Public propertyFrom
Gets the field that allows to find messages that contain the specified string in the envelope structure's FROM field.
(Inherited from MailQueryBuilder.)
Public propertyInternalDate
Gets the field that allows to find messages by internal date.
(Inherited from MailQueryBuilder.)
Public propertyMessageSize
Gets messages with an specified size.
Public propertyModSeq
Modification sequence
Public propertySentDate
Gets the field that allows to find messages by sent date.
(Inherited from MailQueryBuilder.)
Public propertySubject
Gets the field that allows to find messages that contain the specified string in the envelope structure's SUBJECT field.
(Inherited from MailQueryBuilder.)
Public propertyText
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.
(Inherited from MailQueryBuilder.)
Public propertyTo
Gets the field that allows to find messages that contain the specified string in the envelope structure's TO field.
(Inherited from MailQueryBuilder.)
Public propertyUniqueId
Unique identifier
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetQuery
Gets the query.
(Inherited from MailQueryBuilder.)
Public methodGetType (Inherited from Object.)
Public methodHasFlags
Search messages with the specified flags.
Public methodHasHeader
Search messages that have a header with the specified field-name and that contains the specified string in the text of the header (what comes after the colon). If the string to search is zero-length, this matches all messages that have a header line with the specified field-name regardless of the contents.
Public methodHasNoFlags
Search messages with the unspecified flags.
Public methodOr
Search messages that match either search key. Provides disjunction between two expressions (OR).
(Inherited from MailQueryBuilder.)
Public methodToString (Inherited from Object.)
See Also