Permanently removes all messages marked as deleted (with a Deleted flag)
from the current folder.
public void Purge(
ImapMessageIdCollection messageSet
)
Public Sub Purge( _
ByVal messageSet As ImapMessageIdCollection _
)
public:
void Purge(
ImapMessageIdCollection^ messageSet
);
Parameters
- 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.