Package com.cubusmail.server.mail

Examples of com.cubusmail.server.mail.IMailbox.moveFolder()


    IMailbox mailbox = SessionManager.get().getMailbox();
    log.debug( "moving folder... " + sourceFolderId );

    IMailFolder sourceFolder = mailbox.getMailFolderById( sourceFolderId );
    try {
      IMailFolder folder = mailbox.moveFolder( sourceFolderId, targetFolderId );
      log.debug( "...successful" );

      return ConvertUtil.convert( folder, true );
    }
    catch (MailFolderException e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.