Example: imap_list_subscriptions

In the following example, the imap_list_subscriptions function lists the mailboxes that were declared as subscribed or active.

    imap_list_subscriptions("ListSubscriptions",
            "Reference=",
            "MatchName=",
            LAST );