IAsyncImapClient.UndeleteMessageAsync

UndeleteMessageAsync(int, long, IConnection, CancellationToken)

Marks a message with the specified sequence number as not deleted

public Task UndeleteMessageAsync(int sequenceNumber, long modificationSequence = 0, 
    IConnection connection = null, CancellationToken token = default)
ParameterTypeDescription
connectionInt32Connection to a server
sequenceNumberInt64The sequence number of the message
modificationSequenceIConnectionModification sequence. Please, read more https://tools.ietf.org/html/rfc7162
tokenCancellationTokenPropagates notification that operations should be canceled.

See Also


UndeleteMessageAsync(string, long, IConnection, CancellationToken)

Marks a message with the specified sequence number as not deleted.

public Task UndeleteMessageAsync(string uniqueId, long modificationSequence = 0, 
    IConnection connection = null, CancellationToken token = default)
ParameterTypeDescription
connectionStringConnection to a server
uniqueIdInt64The unique Id of the message
modificationSequenceIConnectionModification sequence. Please, read more https://tools.ietf.org/html/rfc7162
tokenCancellationTokenPropagates notification that operations should be canceled.

See Also