[
https://issues.apache.org/jira/browse/JAMES-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
René Cordier resolved JAMES-3962.
---------------------------------
Resolution: Fixed
[https://github.com/apache/james-project/pull/1801] fixed this and has been
merged
> Email/set should support specifying headers on body parts
> ---------------------------------------------------------
>
> Key: JAMES-3962
> URL: https://issues.apache.org/jira/browse/JAMES-3962
> Project: James Server
> Issue Type: Sub-task
> Components: JMAP
> Affects Versions: 3.8.0, 3.8.1
> Reporter: Benoit Tellier
> Assignee: Antoine Duprat
> Priority: Major
> Fix For: 3.9.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> h3. Why?
> The use case: I want the mail user agent to be able to specify per-body-part
> specific headers.
> A good example is hints about the language of a specific part. Which could be
> described with `Content-Language`.
> CF https://github.com/linagora/tmail-flutter/pull/2343
> h3. How?
> The JMAP specification allows specifying specific headers per body part but
> James does not implement this.
> We likely should.
> h3. Sample request
> {code:java}
> ["Email/set", {
> "accountId": "$ACCOUNT_ID",
> "create": {
> "aaaaaa": {
> "mailboxIds": {
> "${mailboxId.serialize}": true
> },
> "subject": "World domination",
> "htmlBody": [
> {
> "partId": "a49d",
> "type": "text/html"
> }
> ],
> "bodyValues": {
> "a49d": {
> "value": "<p>a body</p>",
> "isTruncated": false,
> "isEncodingProblem": false,
> "header:Specific:asText": "MATCHME"
> }
> }
> }
> }
> }, "c1"]
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]