|
imap_statusReturns status information on a mailbox Description
object imap_status
( resource
$imap_stream
, string $mailbox
, int $options
)
Gets status information about the given Parameters
Return ValuesThis function returns an object containing status information. The object has the following properties: messages, recent, unseen, uidnext, and uidvalidity. flags is also set, which contains a bitmask which can be checked against any of the above constants. Examples
Example #1 imap_status example
<?php |