imap_lsub
imap_lsub
List all the subscribed mailboxes
**imap_lsub** IMAP\Connection $imap string $reference string $pattern
Gets an array of all the mailboxes that you have subscribed.
reference
should normally be just the server
specification as described in
reference``imap_open
pattern
Returns an array of all the subscribed mailboxes, return.falseforfailure.
imap_list``imap_getmailboxes