GetIMAPMailSubFolders (open)
This function will get a listing of the mail folders within below a certain folder (non-recursive)
Syntax
LOADLIB "wh::internet/imap.whlib";
RECORD ARRAY FUNCTION GetIMAPMailSubFolders(INTEGER connectionid, STRING rootfolder)Parameters
INTEGER connectionidID of the connection (opened by OpenIMAPAccount)
STRING rootfolderRoot folder (leave empty for top-level)
Return value
RECORD ARRAYRECORD ARRAY of