Imap.Purge Method
Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9119)
Purge(ImapMessageSet)
Permanently removes all messages marked as deleted (with a Deleted flag) from the current folder.
Declaration
public void Purge(ImapMessageSet messageSet)
Parameters
Type | Name | Description |
---|---|---|
ImapMessageSet | messageSet | Message set comprised of message unique IDs to purge. Only supported by servers that support the UIDPLUS extension. Only the messages that are both present in the set and also have the Deleted flag set will be purged. |
Remarks
This method represents IMAP EXPUNGE command.
This message set may be specified to ensure that the method does not remove any messages that have been marked as Deleted between the time that the user requested the purge operation and the time the server processes the command.
See Also
Purge()
Permanently removes all messages marked as deleted (with a Deleted flag) from the current folder.
Declaration
public void Purge()
Remarks
This method represents IMAP EXPUNGE command.