Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.6.0
    • None
    • None

    Description

      • Fetching a specified header property by adding header: header-field-name to the request.
      • The resulting EmailView JSON will have a header: header-field-name value with an associated type RawHeader.
      • Header field name can be any series of one or more printable ASCII characters (i.e., characters that have values between 33 and 126, inclusive), except for colon ':'
      • Header field names are matched case insensitively. 

      Example:

       

      {
        "using": [
          "urn:ietf:params:jmap:core",
          "urn:ietf:params:jmap:mail"],
        "methodCalls": [[
          "Email/get",
          {
            "ids": [ "message_id1"],
            "properties": ["header:Subject"]
          },
          "c1"]]
      }
      
      Will return
      
      {
        "sessionState": "75128aab4b1b",
        "methodResponses": [[
          "Email/get",
          {
            "accountId": "29883977c13473ae7cb7678ef767cbfbaffc8a44a6e463d971d23a65c1dc4af6",
            "state": "000001",
            "list": [
              {
                "id": "message_id1",
                "header:Subject": "World domination"      
              }
            ]
          },
          "c1"]]
      }
      

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            dlkhuat Lan Khuat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: