imap_num_msg

 int imap_num_msg ( resource $imap_stream ) 

説明

Gets the number of messages in the current mailbox.

戻り値

Return the number of messages in the current mailbox, as an integer.