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 connectionid
ID of the connection (opened by OpenIMAPAccount)
STRING mailfolder
Return value
RECORD ARRAY
RECORD ARRAY with folder names (DEFAULT RECORD ARRAY when an error has been encountered)