[
https://issues.apache.org/jira/browse/JAMES-1648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Raphaël Ouazana closed JAMES-1648.
----------------------------------
Resolution: Fixed
> Jmap GetMessages should handle properties parameter to answer partial
> Messages objetss
> --------------------------------------------------------------------------------------
>
> Key: JAMES-1648
> URL: https://issues.apache.org/jira/browse/JAMES-1648
> Project: James Server
> Issue Type: Improvement
> Reporter: Raphaël Ouazana
>
> The properties request parameter can be used to specify a list of properties
> to get into the response.
> In case of getMessages, some properties have a special meaning:
> body: If "body" is included in the list of requested properties, it will
> be interpreted by the server as a request for "htmlBody" if the message has
> an HTML part, or "textBody" otherwise.
> headers.property: Instead of requesting all the headers (by requesting
> the "headers" property, the client may specify the particular headers it
> wants using the headers.property-name syntax, e.g. "headers.X-Spam-Score",
> "headers.X-Spam-Hits"). The server will return a headers property but with
> just the requested headers in the object rather than all headers. If
> "headers" is requested, the server MUST ignore the individual header requests
> and just return all headers. If a requested header is not present in the
> message, it MUST not be present in the headers object. Header names are
> case-insensitive.
> Moreover the id property is always returned.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]