(PHP 3, PHP 4 >= 4.0b1)
array imap_listsubscribed (int imap_stream, string ref, string pattern)
array imap_listsubscribed
Returns an array of all the mailboxes that you have subscribed. This is almost identical to imap_listmailbox(), but will only return mailboxes the user you logged in as has subscribed.