String[] children = (start.length() == 0 ? root : mailbox(start, false)).children();
for(int i=0; i<children.length; i++) {
String s = children[i], pre = ref, kid = start + (start.length() > 0 ? sep+"" : "") + s;
+ if (mailbox(kid, false) == null) continue;
boolean phantom = mailbox(kid, false).phantom();
while(true) {
if (pre.length() == 0) {
Account account = null;
if ((account = auth.login(u,p)) == null) throw new No("Login failed.");
root = account.getMailbox(IMAP.class);
- inbox = mailbox("INBOX", false); // FEATURE: ??
+ inbox = root.slash("INBOX", false);
if (inbox == null) inbox = root;
}
public void unselect() { selected = null; }