Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.3
-
None
-
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