Benoit Tellier created JAMES-3962: ------------------------------------- Summary: 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 Fix For: 3.9.0
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: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org