(PHP3 >= 3.0.12, PHP4 >= 4.0b4)
array imap_getsubscribed (int imap_stream, string ref, string pattern)
array imap_getsubscribed
This function is identical to imap_getmailboxes(), except that it only returns mailboxes that the user is subscribed to.