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

Coderanch | Mohamed Shafi Shamsuddin | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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