MailQueryBuilder

MailQueryBuilder class

Represents the builder of search expression.

The MailQueryBuilder type exposes the following members:

Constructors

NameDescription
MailQueryBuilder()Initializes a new instance of the MailQueryBuilder class.
MailQueryBuilder(default_encoding)Initializes a new instance of the MailQueryBuilder class

Properties

NameDescription
toGets the field that allows to find messages that contain the specified string in the envelope structure’s TO field.
textGets 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.
bccGets the field that allows to find messages that contain the specified string in the envelope structure’s BCC field.
bodyGets the field that allows to find messages that contain the specified string in the body of the message.
ccGets the field that allows to find messages that contain the specified string in the envelope structure’s CC field.
from_addressGets the field that allows to find messages that contain the specified string in the envelope structure’s FROM field.
subjectGets the field that allows to find messages that contain the specified string in the envelope structure’s SUBJECT field.
default_encodingGets default encoding (charset) for query builder
internal_dateGets the field that allows to find messages by internal date.
sent_dateGets the field that allows to find messages by sent date.

Methods

NameDescription
either(query1, query2)
get_query()

See Also