vttranlina opened a new pull request, #2659: URL: https://github.com/apache/james-project/pull/2659
Currently, the client sends a JSON request with `headers: EmailHeader[]` under the `bodyValues` property, structured as follows: ```json "bodyValues": { "a49d": { "value": "$htmlBody", "isTruncated": false, "isEncodingProblem": false, "header:Specific:asText": "MATCHME" } } ``` However, according to [RFC 8621](https://datatracker.ietf.org/doc/html/rfc8621#section-4.1), `EmailBodyValue` does not reference headers property.  Instead, headers are mentioned in the `EmailBodyPart`.  The example in the RFC is also similar. To align with the RFC specification, we need to update the mapping. This change will also support cases where the email part uses `blobId` instead of `partId`, while still allowing the client to set headers. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org