imap_getsubscribed
Description
array imap_getsubscribed ( resource 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.
This function is identical to imap_getmailboxes(), except that it only returns mailboxes that the user is subscribed to.