IMAP Функции
PHP Manual

imap_num_msg

(PHP 4, PHP 5)

imap_num_msgGets the number of messages in the current mailbox

Описание

int imap_num_msg ( resource $imap_stream )

Gets the number of messages in the current mailbox.

Параметри

imap_stream

IMAP поток, върнат от функция imap_open().

Връщани стойности

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

Вж. също


IMAP Функции
PHP Manual