Commons Net
  1. Commons Net
  2. NET-467

IMAPClient#fetch() does not handle literal strings

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Sebb
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development