question: public String mailboxUTF7 ( ) throws DecodingException { String mailbox = astring ( ) ; if ( mailbox . equalsIgnoreCase ( ImapConstants . INBOX_NAME ) ) { return ImapConstants . INBOX_NAME ; } else { return mailbox ; } }
target:  Reads a "mailbox" argument from the request. Not implemented *exactly* as per spec, since a quoted or literal "inbox" still yeilds "INBOX" (ie still case-insensitive if quoted or literal). I think this makes sense. mailbox ::= "INBOX" / astring ;; INBOX is case-insensitive. All case variants of ;; INBOX (e.g. "iNbOx") MUST be interpreted as INBOX ;; not as an astring. Be aware that mailbox names are encoded via a modified UTF7. For more informations RFC3501