misc note in IMAP
[org.ibex.mail.git] / src / org / ibex / mail / IMAP.java
index a111429..f6a254d 100644 (file)
@@ -116,6 +116,10 @@ public class IMAP {
         private Mailbox mailbox(String name, boolean create, boolean throwexn) {
             if (name.equalsIgnoreCase("inbox")) return inbox;
             MailTree mt =  mailboxTree(name, create, throwexn);
+            /* FIXME: throw throwexn here
+            if (mt==null || mt.getMailbox()==null)
+                Log.error("mt==null", name);
+            */
             return mt==null ? null : mt.getMailbox();
         }
         private MailTree mailboxTree(String name, boolean create) { return mailboxTree(name, create, true); }