imap_mailboxmsginfo

imap_mailboxmsginfo -- Get information about the current mailbox

Description

array imap_mailboxmsginfo(int imap_stream);

Returns information about the current mailbox. Returns FALSE on failure.

The imap_mailboxmsginfo() function checks the current mailbox status on the server and returns the information in an object with following properties.

       Date : date of the message
       Driver : driver
       Mailbox : name of the mailbox
       Nmsgs : number of messages
       Recent : number of recent messages
       Unread : number of unread messages
       Size : mailbox size