Internet Direct (Indy) Version 9.0.1 Beta
|
function ExpungeMailBox: Boolean;
ExpungeMailBox requires that ConnectionState contain the value csSelected, or an EIdConnectionStateError exception will be raised.
ExpungeMailBox calls the SendCmd method using the IMAP EXPUNGE command, and on successful completion calls the ParseExpungeResultDetails method for the selected mailbox.
ExpungeMailBox sets the return value to True when ResultNo contains the value wsOk.