|
imap_status(PHP 4, PHP 5) imap_status — Returns status information on a mailbox Описание
object imap_status
( resource $imap_stream
, string $mailbox
, int $options
)
Gets status information about the given mailbox. Список параметров
Возвращаемые значенияThis 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. Примеры
Пример #1 imap_status() example
<?php |
|