imap_num_recent

Gives the number of recent messages in current mailbox (PHP 3, PHP 4, PHP 5)
int imap_num_recent ( resource imap_stream )

Returns the number of recent messages in the current mailbox.

See also: imap_num_msg() and imap_status().