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

IMAPClient#fetch() does not handle literal strings

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.2
    • Component/s: None
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              sebb@apache.org Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: