MailQueryBuilderOr Method

Search messages that match either search key. Provides disjunction between two expressions (OR).

Namespace:  Aspose.Email.Tools.Search
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.10
Syntax
public MailQuery Or(
	MailQuery query1,
	MailQuery query2
)

Parameters

query1
Type: Aspose.Email.Tools.SearchMailQuery
The query1.
query2
Type: Aspose.Email.Tools.SearchMailQuery
The query2.

Return Value

Type: MailQuery
MailQuery that represents search query (one searching criterion).
See Also