ImapClientSearchMessageUids Method |
Searches for messages on the server that match the specified criteria.
Namespace:
GemBox.Email.Imap
Assembly:
GemBox.Email (in GemBox.Email.dll) Version: 15.0.35.1026
Syntax public ReadOnlyCollection<string> SearchMessageUids(
string query
)
Public Function SearchMessageUids (
query As String
) As ReadOnlyCollection(Of String)
Parameters
- query
- Type: SystemString
A search criteria string.
Return Value
Type:
ReadOnlyCollectionString
Read-only collection of message ids that match specified criteria.
Exceptions Remarks
Method executes SEARCH command against the server and returns a list of message ids that match specified criteria.
Query is constructed of one or more search keys as defined in
RFC 3501 - section 6.4.4.
See Also