Internet Direct (Indy) Version 9.0.2 Beta
|
function ListMailBoxes(AMailBoxList: TStringList): Boolean;
ListMailBoxes calls SendCmd using the IMAP LIST command for all mailboxes in the currently selected folder. ListMailBoxes calls ParseListResultDetails to store the mailboxes in CmdResultDetails in the AMailBoxList variable.
ListMailBoxes sets the return value to True when ResultNo contains the value wsOk.