Sebb created NET-514:
------------------------

             Summary: IMAP APPEND multiple issues in IMapClient
                 Key: NET-514
                 URL: https://issues.apache.org/jira/browse/NET-514
             Project: Commons Net
          Issue Type: Bug
    Affects Versions: 3.3
            Reporter: Sebb


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to