imap_listmailbox

imap_listmailbox -- Read the list of mailboxes

Description

array imap_listmailbox(int imap_stream, string ref, string pat);

Returns an array containing the names of the mailboxes.