issues@javamail.java.net

[Bug 2986] New: Add RFC 3348 (IMAP Child Mailbox Extension) support

From: <bugzilla-daemon_at_kenai.com>
Date: Wed, 25 Aug 2010 01:32:58 +0000 (GMT)

http://kenai.com/bugzilla/show_bug.cgi?id=2986

           Summary: Add RFC 3348 (IMAP Child Mailbox Extension) support
           Product: javamail
           Version: 1
          Platform: PC
               URL: http://www.apps.ietf.org/rfc/rfc3348.html
        OS/Version: Mac OS
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: source
        AssignedTo: shannon_at_kenai.com
        ReportedBy: Electrum_at_kenai.com
                CC: issues_at_javamail.kenai.com


RFC 3348 allows the server to specify if a folder has or does not have children
folders. Supporting this is critical for quickly enumerating all the folders
of IMAP accounts that have many non-nested folders (e.g. Gmail).

Note: The RFC says that "It is an error for the server to return both a
\HasChildren and a \HasNoChildren attribute in a LIST response." but Gmail
violates this:

A57 LIST "" "[Gmail]/%"
* LIST (\HasNoChildren) "/" "[Gmail]/All Mail"
* LIST (\HasNoChildren) "/" "[Gmail]/Drafts"
* LIST (\HasNoChildren) "/" "[Gmail]/Sent Mail"
* LIST (\HasNoChildren) "/" "[Gmail]/Spam"
* LIST (\HasChildren \HasNoChildren) "/" "[Gmail]/Starred"
* LIST (\HasChildren \HasNoChildren) "/" "[Gmail]/Trash"
A57 OK Success

-- 
Configure bugmail: http://kenai.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.