XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.8.0, 3.8.1
    • 3.9.0
    • JMAP
    • None

    Description

      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

      How?

      The JMAP specification allows specifying specific headers per body part but James does not implement this.

      We likely should.

      Sample request

      ["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"]
      

      Attachments

        Issue Links

          Activity

            People

              aduprat Antoine Duprat
              btellier Benoit Tellier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m