Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8798

mail-ra: getMessages() on imap folder doesn't work as expected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • JBossAS-5.1.0.GA, 6.0.0.Final
    • JCA service
    • Low
    • Hide

      Create an imap folder with n read and m unread messages. Make sure the read messages are located at the top of the folder. Now let the mail-ra retrieve the messages. It will get m messages, starting from the beginning of the folder, not only the unread messages.

      Show
      Create an imap folder with n read and m unread messages. Make sure the read messages are located at the top of the folder. Now let the mail-ra retrieve the messages. It will get m messages, starting from the beginning of the folder, not only the unread messages.

      The getMessages()-method should return only new (not Flag.SEEN) messages. This does not work if the not unseen messages are not the first messages in the folder.

              jpederse@redhat.com Jesper Pedersen
              mark0815_jira Mark Zeller (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: