Imap.DeleteMessage Method
Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9083)
DeleteMessage(ImapMessageSet)
Marks messages that belong to a specified message set as deleted.
Declaration
public void DeleteMessage(ImapMessageSet messageSet)
Parameters
Type | Name | Description |
---|---|---|
ImapMessageSet | messageSet | A set of messages. |
Remarks
To actually remove messages marked as deleted, use the Purge() method.
This method represents IMAP STORE command.
DeleteMessage(Int32)
Marks a message with the specified sequence number as deleted.
Declaration
public void DeleteMessage(int sequenceNumber)
Parameters
Type | Name | Description |
---|---|---|
Int32 | sequenceNumber | Message sequence number. |
Remarks
To actually remove messages marked as deleted, use the Purge() method.
This method represents IMAP STORE command.
DeleteMessage(String)
Marks a message with the specified unique ID as deleted.
Declaration
public void DeleteMessage(string uniqueId)
Parameters
Type | Name | Description |
---|---|---|
String | uniqueId | Message unique ID. |
Remarks
To actually remove messages marked as deleted, use the Purge() method.
This method represents IMAP STORE command.