imap_getsubscribed

(3.0.12 - 3.0.18 only, PHP 4 >= 4.0.0)

imap_getsubscribed -- List all the subscribed mailboxes

Description

array imap_getsubscribed (int imap_stream, string ref, string pattern)

This function is identical to imap_getmailboxes(), except that it only returns mailboxes that the user is subscribed to.