Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-467

IMAPClient#fetch() does not handle literal strings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1
    • 3.2
    • None
    • None

    Description

      As reported on the user list, IMAP#fetch("1","body[header]") fails with an error such as:

      org.apache.commons.net.MalformedServerReplyException: Received
      unexpected IMAP protocol response from server: 'Return-Path: <snip>'

      This is because the code does not currently handle literal strings, i.e.

      {nnn}

      CRLF
      textCRLF
      ...

      See http://tools.ietf.org/html/rfc3501#section-4.3

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: