[
https://issues.apache.org/jira/browse/NET-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebb resolved NET-514.
----------------------
Resolution: Fixed
Fix Version/s: 3.4
URL: http://svn.apache.org/r1508693
Log:
NET-514 IMAP APPEND multiple issues in IMapClient.
Deprecated unusable append methods.
Added new append method, as well as example IMapImportMbox class to make use of
it.
Added:
commons/proper/net/trunk/src/main/java/examples/mail/IMAPImportMbox.java
(with props)
Modified:
commons/proper/net/trunk/src/changes/changes.xml
commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAPClient.java
> 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
> Fix For: 3.4
>
>
> 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