Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Imap.UndeleteMessageAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9147)

UndeleteMessageAsync(ImapMessageSet, Object)

Begins asynchronous UndeleteMessage operation. Marks messages that belong to a specified message set as not deleted.

Declaration
public Task UndeleteMessageAsync(ImapMessageSet messageSet, object state = null)
Parameters
Type Name Description
ImapMessageSet messageSet

A set of messages.

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task
Remarks

This only has effect on messages that were not purged yet.

This method represents IMAP STORE command.

UndeleteMessageAsync(Int32, Object)

Begins asynchronous UndeleteMessage operation. Marks a message with the specified sequence number as not deleted.

Declaration
public Task UndeleteMessageAsync(int sequenceNumber, object state = null)
Parameters
Type Name Description
Int32 sequenceNumber

Message sequence number.

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task
Remarks

This only has effect if the message was not purged yet.

This method represents IMAP STORE command.

UndeleteMessageAsync(String, Object)

Begins asynchronous UndeleteMessage operation. Marks a message with the specified unique ID as not deleted.

Declaration
public Task UndeleteMessageAsync(string uniqueId, object state = null)
Parameters
Type Name Description
String uniqueId

Message unique ID.

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task
Remarks

This only has effect if the message was not purged yet.

This method represents IMAP STORE command.

In This Article
  • UndeleteMessageAsync(ImapMessageSet, Object)
  • UndeleteMessageAsync(Int32, Object)
  • UndeleteMessageAsync(String, Object)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies