IAsyncImapClient.ListMessageAsync

ListMessageAsync(int, IEnumerable<string>, IConnection, CancellationToken)

Gets information about a message.

public Task<ImapMessageInfo> ListMessageAsync(int sequenceNumber, 
    IEnumerable<string> messageExtraFields = null, IConnection connection = null, 
    CancellationToken token = default)
ParameterTypeDescription
connectionInt32Connection to a server
sequenceNumberIEnumerable`1The sequence number of message
messageExtraFieldsIConnectionList of extra parameters for a message wich will be requested.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ListMessageAsync(string, IEnumerable<string>, IConnection, CancellationToken)

Gets information about a message.

public Task<ImapMessageInfo> ListMessageAsync(string uniqueId, 
    IEnumerable<string> messageExtraFields = null, IConnection connection = null, 
    CancellationToken token = default)
ParameterTypeDescription
connectionStringConnection to a server
uniqueIdIEnumerable`1The unique Id of the message
messageExtraFieldsIConnectionList of extra parameters for a message wich will be requested.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also