Logs out and closes the connection.
Resolves once the socket is closed.
Fetches the requested fields for a set of UIDs via UID FETCH.
The message UIDs to fetch.
Which parts of each message to request.
One ImapMessage per UID the server returns.
Searches the selected mailbox via UID SEARCH.
The criteria to match.
The matching message UIDs.
An authenticated IMAP session over a single connection.
Obtain one from connect. It is an
AsyncDisposable, so it can be scoped withawait usingto guarantee the connection is logged out and closed. Methods issue one tagged command at a time and must not be called concurrently on the same session.Since
1.0.0