imap_lsub
PHP function
Edit on GitHub ✎
(PHP 4, PHP 5, PHP 7, PHP 8)
List all the subscribed mailboxes
Description
imap_lsub(IMAP\Connection $imap, string $reference, string $pattern): array|false
Gets an array of all the mailboxes that you have subscribed.
Parameters
referencereferenceshould normally be just the server specification as described inimap_open()Insecure
patternPattern
Return Values
Returns an array of all the subscribed mailboxes, Falseforfailure.
Changelog
| Version | Description |
|---|