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 connectionid

ID of the connection (opened by OpenIMAPAccount)

STRING rootfolder

Root folder (leave empty for top-level)

Return value

RECORD ARRAY

RECORD ARRAY of