uidFetchMessagesByCriteria method
Fetches messages by the specified criteria.
This call is more flexible than uidFetchMessages.
fetchIdsAndCriteria
the requested message UIDs and specification of the requested elements, e.g. '1232:1234 (ENVELOPE)'.
Implementation
Future<FetchImapResult> uidFetchMessagesByCriteria(
String fetchIdsAndCriteria) {
final cmd = Command('UID FETCH $fetchIdsAndCriteria');
final parser = FetchParser(true);
return sendCommand<FetchImapResult>(cmd, parser);
}