imap_lsub
imap_lsub
(PHP 4, PHP 5, PHP 7)
imap_lsub — List all the subscribed mailboxes
Description
array imap_lsub ( resource $imap_stream , string $ref , string $pattern )
Gets an array of all the mailboxes that you have subscribed.
Parameters
-
imap_stream
-
An IMAP stream returned by imap_open().
-
ref