imap_getmailboxes - how to understand the values of "attributes"?

From: Date: Thu, 09 Nov 2006 07:24:08 +0000
Subject: imap_getmailboxes - how to understand the values of "attributes"?
Groups: php.general 
Request: Send a blank email to php-general+get-244422@lists.php.net to get a copy of this message
Hello! For a small webmail-client I want to use the mailbox-attributes to make a difference between mailservers and their folder-handling. Unfortunately I don't understand the meaning of the attributes-value in detail. In PHP-manual I found that "Attributes is a bitmask". In comments/notes the bitmasks are described as: 1 LATT_NOINFERIORS 2 LATT_NOSELECT 4 LATT_MARKED 8 LATT_UNMARKED But when debugging with my mailservers/folders I received the following values: 1, 32, 40, 64. It would be great if anyone could help me with a short explanation how to sum up the bitmasks to get these values (or vice versa...). Thank you, kind regards,
       Jens


Attachment: [application/x-pkcs7-signature] S/MIME Cryptographic Signature smime.p7s
« previous php.general (#244422) next »