213214215216217218219220221222223
IMailbox mailbox = SessionManager.get().getMailbox(); log.debug( "renaming folder... " + folderId ); try { mailbox.renameFolder( folderId, newName ); log.debug( "...successful" ); return newName; } catch (MailFolderException e) {