(3.0.2 - 3.0.18 only, PHP 4 >= 4.0.0)imap_mailboxmsginfo -- Get information about the current mailbox
Returns information about the current mailbox. Returns FALSE on failure.
The imap_mailboxmsginfo() function checks the current mailbox status on the server. It is similar to imap_status(), but will additionally sum up the size of all messages in the mailbox, which will take some additional time to execute. It returns the information in an object with following properties.
Table 1. Mailbox properties
|Date||date of last change|
|Mailbox||name of the mailbox|
|Nmsgs||number of messages|
|Recent||number of recent messages|
|Unread||number of unread messages|
|Deleted||number of deleted messages|
Example 1. imap_mailboxmsginfo() example