|
PHP5中文手册
imap_getmailboxes(PHP 4, PHP 5) imap_getmailboxes — Read the list of mailboxes, returning detailed information on each one 说明
array imap_getmailboxes
( resource $imap_stream
, string $ref
, string $pattern
)
Gets information on the mailboxes. 参数
返回值Returns an array of objects containing mailbox information. Each object has the attributes name , specifying the full name of the mailbox; delimiter , which is the hierarchy delimiter for the part of the hierarchy this mailbox is in; and attributes . Attributes is a bitmask that can be tested against:
范例
Example#1 imap_getmailboxes() example
<?php |