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

IMAP APPEND multiple issues in IMapClient

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.4
    • Component/s: None
    • Labels:
      None

      Description

      There are multiple issues in the way APPEND is handled in IMapClient.

      1) According to RFC3501 [1] the date-time field in an APPEND command is enclosed in double quotes. The code currently uses { } which is incorrect

      2) The APPEND command has the following arguments [2]:

      Arguments: mailbox name
      OPTIONAL flag parenthesized list
      OPTIONAL date/time string
      message literal

      However, the existing methods don't support the message literal; there needs to be a method that supports the message literal. The existing methods should be deprecated as they serve no purpose.

      [1] http://tools.ietf.org/html/rfc3501#page-85
      [2] http://tools.ietf.org/html/rfc3501#section-6.3.11

        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: