imap_status

(PHP 3>= 3.0.4, PHP 4 >= 4.0.0)

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.