Internet Direct (Indy) Version 9.0.2 Beta
|
function DeleteMailBox(const AMBName: String): Boolean;
DeleteMailBox requires that the value of ConnectionState contain either csAuthenticated or csSelected, or an EIdConnectionStateError exception will be raised.
DeleteMailBox calls SendCmd using the IMAP DELETE Command, and sets the return value to True when ResultNo contains wsOk.