MailQueryBuilder Class

Represents the builder of search expression.
Inheritance Hierarchy

Namespace:  Aspose.Email.Tools.Search
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.10
Syntax
public class MailQueryBuilder

The MailQueryBuilder type exposes the following members.

Constructors
  NameDescription
Public methodMailQueryBuilder
Initializes a new instance of the MailQueryBuilder class.
Public methodMailQueryBuilder(Encoding)
Initializes a new instance of the MailQueryBuilder 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.
Public propertyBody
Gets the field that allows to find messages that contain the specified string in the body of the message.
Public propertyCc
Gets the field that allows to find messages that contain the specified string in the envelope structure's CC field.
Public propertyDefaultEncoding
Gets default encoding (charset) for query builder
Public propertyFrom
Gets the field that allows to find messages that contain the specified string in the envelope structure's FROM field.
Public propertyInternalDate
Gets the field that allows to find messages by internal date.
Public propertySentDate
Gets the field that allows to find messages by sent date.
Public propertySubject
Gets the field that allows to find messages that contain the specified string in the envelope structure's SUBJECT field.
Public propertyText
Gets the field that allows to find the messages that contain the specified string in the header or body of the message.
Public propertyTo
Gets the field that allows to find messages that contain the specified string in the envelope structure's TO field.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetQuery
Gets the query.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOr
Search messages that match either search key. Provides disjunction between two expressions (OR).
Public methodToString (Inherited from Object.)
Remarks
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
See Also