GetSubscribedIMAPMailboxes (open)

This function will get a flat listing of subscribed mail folders (recursive)

Syntax

LOADLIB "wh::internet/imap.whlib";

RECORD ARRAY FUNCTION GetSubscribedIMAPMailboxes(INTEGER connectionid)

Parameters

INTEGER connectionid

ID of the connection (opened by OpenIMAPAccount)

Return value

RECORD ARRAY

RECORD ARRAY with folder names (DEFAULT RECORD ARRAY when an error has been encountered)

name

Name of the mail folder