Aspose::Email::Clients::Google::Criteria Class Reference

Message matching criteria. More...

Inherits Object.

Public Member Functions

System::String get_From () const
 The sender's display name or email address. More...
 
void set_From (System::String value)
 The sender's display name or email address. More...
 
System::String get_To () const
 The recipient's display name or email address. Includes recipients in the "to", "cc", and "bcc" header fields. You can use simply the local part of the email address. For example, "example" and "example@" both match "example@gmail.com". This field is case-insensitive. More...
 
void set_To (System::String value)
 The recipient's display name or email address. Includes recipients in the "to", "cc", and "bcc" header fields. You can use simply the local part of the email address. For example, "example" and "example@" both match "example@gmail.com". This field is case-insensitive. More...
 
System::String get_Subject () const
 Case-insensitive phrase found in the message's subject. Trailing and leading whitespace are be trimmed and adjacent spaces are collapsed. More...
 
void set_Subject (System::String value)
 Case-insensitive phrase found in the message's subject. Trailing and leading whitespace are be trimmed and adjacent spaces are collapsed. More...
 
System::String get_Query () const
 Only return messages matching the specified query.Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid:somemsgid@example.com is:unread". More...
 
void set_Query (System::String value)
 Only return messages matching the specified query.Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid:somemsgid@example.com is:unread". More...
 
System::String get_NegatedQuery () const
 Only return messages not matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid:somemsgid@example.com is:unread". More...
 
void set_NegatedQuery (System::String value)
 Only return messages not matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid:somemsgid@example.com is:unread". More...
 
bool get_HasAttachment () const
 Whether the message has any attachment. More...
 
void set_HasAttachment (bool value)
 Whether the message has any attachment. More...
 
bool get_ExcludeChats () const
 Whether the response should exclude chats. More...
 
void set_ExcludeChats (bool value)
 Whether the response should exclude chats. More...
 
int32_t get_Size () const
 The size of the entire RFC822 message in bytes, including all headers and attachments. More...
 
void set_Size (int32_t value)
 The size of the entire RFC822 message in bytes, including all headers and attachments. More...
 
Aspose::Email::Clients::Google::SizeComparison get_SizeComparison () const
 How the message size in bytes should be in relation to the size field. More...
 
void set_SizeComparison (Aspose::Email::Clients::Google::SizeComparison value)
 How the message size in bytes should be in relation to the size field. More...
 
 Criteria ()
 

Detailed Description

Message matching criteria.

Constructor & Destructor Documentation

◆ Criteria()

Aspose::Email::Clients::Google::Criteria::Criteria ( )

Member Function Documentation

◆ get_ExcludeChats()

bool Aspose::Email::Clients::Google::Criteria::get_ExcludeChats ( ) const

Whether the response should exclude chats.

◆ get_From()

System::String Aspose::Email::Clients::Google::Criteria::get_From ( ) const

The sender's display name or email address.

◆ get_HasAttachment()

bool Aspose::Email::Clients::Google::Criteria::get_HasAttachment ( ) const

Whether the message has any attachment.

◆ get_NegatedQuery()

System::String Aspose::Email::Clients::Google::Criteria::get_NegatedQuery ( ) const

Only return messages not matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid:somemsgid@example.com is:unread".

◆ get_Query()

System::String Aspose::Email::Clients::Google::Criteria::get_Query ( ) const

Only return messages matching the specified query.Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid:somemsgid@example.com is:unread".

◆ get_Size()

int32_t Aspose::Email::Clients::Google::Criteria::get_Size ( ) const

The size of the entire RFC822 message in bytes, including all headers and attachments.

◆ get_SizeComparison()

Aspose::Email::Clients::Google::SizeComparison Aspose::Email::Clients::Google::Criteria::get_SizeComparison ( ) const

How the message size in bytes should be in relation to the size field.

◆ get_Subject()

System::String Aspose::Email::Clients::Google::Criteria::get_Subject ( ) const

Case-insensitive phrase found in the message's subject. Trailing and leading whitespace are be trimmed and adjacent spaces are collapsed.

◆ get_To()

System::String Aspose::Email::Clients::Google::Criteria::get_To ( ) const

The recipient's display name or email address. Includes recipients in the "to", "cc", and "bcc" header fields. You can use simply the local part of the email address. For example, "example" and "example@" both match "example@gmail.com". This field is case-insensitive.

◆ set_ExcludeChats()

void Aspose::Email::Clients::Google::Criteria::set_ExcludeChats ( bool  value)

Whether the response should exclude chats.

◆ set_From()

void Aspose::Email::Clients::Google::Criteria::set_From ( System::String  value)

The sender's display name or email address.

◆ set_HasAttachment()

void Aspose::Email::Clients::Google::Criteria::set_HasAttachment ( bool  value)

Whether the message has any attachment.

◆ set_NegatedQuery()

void Aspose::Email::Clients::Google::Criteria::set_NegatedQuery ( System::String  value)

Only return messages not matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid:somemsgid@example.com is:unread".

◆ set_Query()

void Aspose::Email::Clients::Google::Criteria::set_Query ( System::String  value)

Only return messages matching the specified query.Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid:somemsgid@example.com is:unread".

◆ set_Size()

void Aspose::Email::Clients::Google::Criteria::set_Size ( int32_t  value)

The size of the entire RFC822 message in bytes, including all headers and attachments.

◆ set_SizeComparison()

void Aspose::Email::Clients::Google::Criteria::set_SizeComparison ( Aspose::Email::Clients::Google::SizeComparison  value)

How the message size in bytes should be in relation to the size field.

◆ set_Subject()

void Aspose::Email::Clients::Google::Criteria::set_Subject ( System::String  value)

Case-insensitive phrase found in the message's subject. Trailing and leading whitespace are be trimmed and adjacent spaces are collapsed.

◆ set_To()

void Aspose::Email::Clients::Google::Criteria::set_To ( System::String  value)

The recipient's display name or email address. Includes recipients in the "to", "cc", and "bcc" header fields. You can use simply the local part of the email address. For example, "example" and "example@" both match "example@gmail.com". This field is case-insensitive.