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/04/12 12:42:04 UTC

[james-project] 04/04: JAMES-3532 Document implementation of Email/import

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 f1cce7079ee84ddedc84695536fb046c33dfcd60
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Sun Apr 4 14:57:56 2021 +0700

    JAMES-3532 Document implementation of Email/import
---
 server/protocols/jmap-rfc-8621/doc/specs/spec/mail/message.mdown | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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 ff5f425..cb11c2f 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
@@ -906,7 +906,7 @@ For successfully copied Email objects, the *created* response contains the *id*,
 ## Email/import
 
 > :warning:
-> Not implemented yet
+> Partially implemented
 
 The *Email/import* method adds messages [@!RFC5322] to the set of Emails in an account. The server MUST support messages with Email Address Internationalization (EAI) headers [@!RFC6532]. The messages must first be uploaded as blobs using the standard upload mechanism. The method takes the following arguments:
 
@@ -923,6 +923,10 @@ An **EmailImport** object has the following properties:
   The id of the blob containing the raw message [@!RFC5322].
 - **mailboxIds**: `Id[Boolean]`
   The ids of the Mailboxes to assign this Email to. At least one Mailbox MUST be given.
+
+> :warning:
+> So far, only a single mailboxId is supported
+
 - **keywords**: `String[Boolean]` (default: \{\})
   The keywords to apply to the Email.
 - **receivedAt**: `UTCDate` (default: time of most recent Received header, or time of import on server if none)

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