javax.mail.FolderNotFoundException: <DestinationFolderName> does not exist

Coderanch | Mohamed Shafi Shamsuddin | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Trying to copy messages from Inbox to some custom folder in outlook.

    Coderanch | 2 years ago | Mohamed Shafi Shamsuddin
    javax.mail.FolderNotFoundException: <DestinationFolderName> does not exist

    Root Cause Analysis

    1. javax.mail.FolderNotFoundException

      <DestinationFolderName> does not exist

      at javax.mail.Folder.copyMessages()
    2. JavaMail API
      Folder.copyMessages
      1. javax.mail.Folder.copyMessages(Folder.java:1132)
      1 frame