You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2021/02/14 06:54:08 UTC

[james-project] 18/18: JAMES-2884 Improve JMAP EmailBodyPart documentation formatting

This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 053aaa9215641e004763b01e9882b0aeac738384
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Mon Feb 8 16:41:22 2021 +0700

    JAMES-2884 Improve JMAP EmailBodyPart documentation formatting
---
 server/protocols/jmap-rfc-8621/doc/specs/spec/mail/message.mdown | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/server/protocols/jmap-rfc-8621/doc/specs/spec/mail/message.mdown b/server/protocols/jmap-rfc-8621/doc/specs/spec/mail/message.mdown
index bbf4492..34be185 100644
--- a/server/protocols/jmap-rfc-8621/doc/specs/spec/mail/message.mdown
+++ b/server/protocols/jmap-rfc-8621/doc/specs/spec/mail/message.mdown
@@ -856,10 +856,6 @@ Due to the format of the Email object, when creating an Email there are a number
 - Within an EmailBodyPart:
   - The client may specify a *partId* OR a *blobId*, but not both. If a *partId* is
     given, this *partId* MUST be present in the bodyValues property.
-
-> :warning:
-> htmlBody and textBody parts needs to have a *partId*. `attachments` parts need to specify *blobId*.
-
   - The charset property MUST be omitted if a partId is given (the part's
     content is included in bodyValues, and the server may choose any appropriate
     encoding).
@@ -869,7 +865,9 @@ Due to the format of the Email object, when creating an Email there are a number
   - A `Content-Transfer-Encoding` header field MUST NOT be given.
 
 > :warning:
-> EmailBodyPart specific headers are not supported for Email/set create.
+> The following limitations applies for the James implementation of EmailBodyPart:
+>  - htmlBody and textBody parts needs to have a *partId*. `attachments` parts need to specify *blobId*.
+>  - EmailBodyPart specific headers are not supported for Email/set create.
 
 - Within an EmailBodyValue object, isEncodingProblem and isTruncated MUST be
   either `false` or omitted.


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org