Zend\Mail\Protocol\Imap::listMailbox
get mailbox list
this method can't be named after the IMAP command 'LIST', as list is a reserved keyword
Signature
public function listMailbox([string
$reference = '',
[string
$mailbox = '*']] )
Parameters
$reference
— string- mailbox reference for list
$mailbox
— string- mailbox name match with wildcards
Returns
- array
- mailboxes that matched $mailbox as array(globalName => array('delim' => .., 'flags' => ..))