IMAP_LIST
Returns the names of the folders.
In the pattern, * stands for any text and % for any text within one level of folders.
Parameters and results
serverSTRUCT c0de_net/mail/IMAP_SERVER: the serverpatternSTRING: the folders to list (optional, default*: all)- result
resultARRAY STRING: the names of the folders
Example
c0de
CALL c0de_net/mail/IMAP_LIST
PARAMETER server imap ;
RESULT result folders