GetIMAPMailfolders (open)
This function will get a flat listing of available mail folders (recursive)
Syntax
LOADLIB "wh::internet/imap.whlib";
RECORD ARRAY FUNCTION GetIMAPMailfolders(INTEGER connectionid, STRING mailfolder)Parameters
INTEGER connectionidID of the connection (opened by OpenIMAPAccount)
STRING mailfolderReturn value
RECORD ARRAYRECORD ARRAY with folder names (DEFAULT RECORD ARRAY when an error has been encountered)