Example: imap_list_subscriptions_ex

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

    imap_list_subscriptions_ex(&imap1,"ListSubscriptions",
            "Reference=",
            "MatchName=",
            LAST );