}
// get the mailbox root folder
// it is usually the second item in the list of info stores
JXCdoInfoStore ifs = new JXCdoInfoStore(jxCdoSession,ifss.Item(new JIVariant(new Integer(2).intValue())));
JXCdoFolder root = new JXCdoFolder(jxCdoSession,ifs.GetRootFolder());
// build a tree based on the mailbox folders structure
listFolders(jxCdoSession,root);
jxCdoSession.Logoff();