imap_status

imap_status -- This function returns status information on a mailbox other than the current one.

Description

object imap_status(int imap_stream, string mailbox, int options);

This function returns an object containing status information. Valid flags are:

status->flags is also set, which contains a bitmask which can be checked against any of the above constants.