Query: imap_check
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
IMAP_CHECK(3) 1 IMAP_CHECK(3) imap_check - Check current mailboxSYNOPSISobject imap_check (resource $imap_stream)DESCRIPTIONChecks information about the current mailbox.PARAMETERSo $ imap_stream -An IMAP stream returned by imap_open(3).RETURN VALUESReturns the information in an object with following properties: o Date - current system time formatted according to RFC2822 o Driver - protocol used to access this mailbox: POP3, IMAP, NNTP o Mailbox - the mailbox name o Nmsgs - number of messages in the mailbox o Recent - number of recent messages in the mailbox Returns FALSE on failure.EXAMPLESExample #1 imap_check(3) example <?php $imap_obj = imap_check($imap_stream); var_dump($imap_obj); ?> The above example will output something similar to: object(stdClass)(5) { ["Date"]=> string(37) "Wed, 10 Dec 2003 17:56:54 +0100 (CET)" ["Driver"]=> string(4) "imap" ["Mailbox"]=> string(54) "{www.example.com:143/imap/user="foo@example.com"}INBOX" ["Nmsgs"]=> int(1) ["Recent"]=> int(0) } PHP Documentation Group IMAP_CHECK(3)
Related Man Pages |
---|
imap_get_quota(3) - php |
imap_createmailbox(3) - php |
imap_get_quotaroot(3) - php |
imap_listscan(3) - php |
imap_mailboxmsginfo(3) - php |
Similar Topics in the Unix Linux Community |
---|
Mailserver problems. |
imapsync 1.249 (Default branch) |
imapsync 1.250 (Default branch) |
imapsync 1.252 (Default branch) |
pop2imap 1.15 (Default branch) |