mbox.createFolder(inbox, "dork",ZFolder.VIEW_MESSAGE);
System.out.println(mbox.createFolder(inbox, "dork",ZFolder.VIEW_MESSAGE)); System.out.println(inbox);
    public static void main(String args[]) throws ServiceException {        Zimbra.toolSetup();        ZMailbox mbox = getMailbox("user1", "test123", "http://localhost:7070/service/soap");        System.out.println(mbox.getSize());        System.out.println(mbox.getAllTags());        System.out.println(mbox.getUserRoot());        //ZSearchParams sp = new ZSearchParams("StringBuffer");        ZSearchParams sp = new ZSearchParams("in:inbox");                sp.setLimit(20);        sp.setTypes(ZSearchParams.TYPE_MESSAGE);        System.out.println(mbox.search(sp));        ZFolder inbox = mbox.getFolderByPath("/inBOX");        System.out.println(inbox);        System.out.println(mbox.getFolderById(inbox.getId()));        mbox.doAction(ZFolderAction.markAsRead(), inbox);        mbox.doAction(ZFolderAction.setChecked(true), inbox);        mbox.doAction(ZFolderAction.setChecked(false), inbox);                mbox.doAction(ZFolderAction.setColor(1), inbox);        mbox.createFolder(inbox, "dork",ZFolder.VIEW_MESSAGE);                    }