#43726 [Opn->Csd]: Constants descripton in imap_getmailboxes page is wrong

From: Date: Thu, 03 Jul 2008 22:56:18 +0000
Subject: #43726 [Opn->Csd]: Constants descripton in imap_getmailboxes page is wrong
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-933@lists.php.net to get a copy of this message
ID: 43726 Updated by: tularis@php.net Reported By: karpeles at ookoo dot org -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Thank you for your help to make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2008-01-02 06:29:46] karpeles at ookoo dot org Description: ------------ The documentation currently says: [snip] Attributes is a bitmask that can be tested against: * LATT_NOINFERIORS - This mailbox has no "children" (there are no mailboxes below this one). * LATT_NOSELECT - This is only a container, not a mailbox - you cannot open it. * LATT_MARKED - This mailbox is marked. Only used by UW-IMAPD. * LATT_UNMARKED - This mailbox is not marked. Only used by UW-IMAPD. This is just wrong, only LATT_NOSELECT is right. LATT_NOINFERIORS: This mailbox can not, ever, have children. You can not call imap_createmailbox() to put a subdirectory in this mailbox, it won't work (or your imap server is broken). LATT_MARKED: This mailbox is marked. This means that it may contain new messages since the last time it was checked. Not provided by all IMAP servers. LATT_UNMARKED: This mailbox does not contains anything new since last check. If either MARKED or UNMARKED is provided, you can assume the IMAP server supports this feature for this mailbox. You can have a program written in PHP doing listmailboxes from times to times to fetch new messages. If you see that the mailbox is "unmarked", you can safely skip it when checking for new messages. Reproduce code: --------------- Irrelevant Expected result: ---------------- Irrelevant Actual result: -------------- http://php.net/imap_getmailboxes ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43726&edit=1

« previous php.doc.bugs (#933) next »