(PHP 4, PHP 5, PHP 7)
imap_num_recent — Gets the number of recent messages in current mailbox
$imap_stream
)Gets the number of recent messages in the current mailbox.
Returns the number of recent messages in the current mailbox, as an integer.