imap_list
Read the list of mailboxes
Description
arrayimap_list
resourceimap_stream
stringref
stringpattern
Returns an array containing the names of the mailboxes.
See imap_getmailboxes for a description
of ref and pattern.
imap_list example
\n";
}
} else {
echo "imap_list failed: " . imap_last_error() . "\n";
}
imap_close($mbox);
?>
]]>
See also: imap_getmailboxes.