draft-ietf-jmap-mdn-16.txt   draft-ietf-jmap-mdn-17.txt 
JMAP R. Ouazana, Ed. JMAP R. Ouazana, Ed.
Internet-Draft Linagora Internet-Draft Linagora
Intended status: Standards Track December 10, 2020 Intended status: Standards Track January 28, 2021
Expires: June 13, 2021 Expires: August 1, 2021
Handling Message Disposition Notification with JMAP Handling Message Disposition Notification with JMAP
draft-ietf-jmap-mdn-16 draft-ietf-jmap-mdn-17
Abstract Abstract
This document specifies a data model for handling Message Disposition This document specifies a data model for handling Message Disposition
Notifications (MDNs, RFC 8098) in the JSON Meta Application Protocol Notifications (MDNs, RFC 8098) in the JSON Meta Application Protocol
(JMAP, RFCs 8620 and 8621). (JMAP, RFCs 8620 and 8621).
Status of This Memo Status of This Memo
This Internet-Draft is submitted in full conformance with the This Internet-Draft is submitted in full conformance with the
skipping to change at page 1, line 32 skipping to change at page 1, line 32
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/. Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." material or to cite them other than as "work in progress."
This Internet-Draft will expire on June 13, 2021. This Internet-Draft will expire on August 1, 2021.
Copyright Notice Copyright Notice
Copyright (c) 2020 IETF Trust and the persons identified as the Copyright (c) 2021 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents Provisions Relating to IETF Documents
(https://trustee.ietf.org/license-info) in effect on the date of (https://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as the Trust Legal Provisions and are provided without warranty as
skipping to change at page 5, line 46 skipping to change at page 5, line 46
o identityId: "Id" The id of the Identity to associate with these o identityId: "Id" The id of the Identity to associate with these
MDNs. The server will use this identity to define the sender of MDNs. The server will use this identity to define the sender of
the MDNs and to set the finalRecipient field. the MDNs and to set the finalRecipient field.
o send: "Id[MDN]" A map of creation id (client specified) to MDN o send: "Id[MDN]" A map of creation id (client specified) to MDN
objects. objects.
o onSuccessUpdateEmail: "Id[PatchObject]|null" A map of id to an o onSuccessUpdateEmail: "Id[PatchObject]|null" A map of id to an
object containing properties to update on the Email object object containing properties to update on the Email object
referenced by the "MDN/send" if the sending succeeds. This will referenced by the "MDN/send" if the sending succeeds. This will
always be a backward reference to the email id (see example below always be a backward reference to the creation id (see example
in Section 3.1). below in Section 3.1).
The response has the following arguments: The response has the following arguments:
o accountId: "Id" The id of the account used for the call. o accountId: "Id" The id of the account used for the call.
o sent: "Id[MDN]|null" A map of creation id to MDN containing any o sent: "Id[MDN]|null" A map of creation id to MDN containing any
properties that were not set by the client. This includes any properties that were not set by the client. This includes any
properties that were omitted by the client and thus set to a properties that were omitted by the client and thus set to a
default by the server. This argument is null if no MDN objects default by the server. This argument is null if no MDN objects
were successfully sent. were successfully sent.
skipping to change at page 8, line 44 skipping to change at page 8, line 44
"actionMode": "manual-action", "actionMode": "manual-action",
"sendingMode": "mdn-sent-manually", "sendingMode": "mdn-sent-manually",
"type": "displayed" "type": "displayed"
}, },
"extension": { "extension": {
"EXTENSION-EXAMPLE": "example.com" "EXTENSION-EXAMPLE": "example.com"
} }
} }
}, },
"onSuccessUpdateEmail": { "onSuccessUpdateEmail": {
"Md45b47b4877521042cec0938": { "#k1546": {
"keywords/$mdnsent": true "keywords/$mdnsent": true
} }
} }
}, "0" ]] }, "0" ]]
If the email id matches an existing email message without the If the email id matches an existing email message without the
"$mdnsent" keyword, the server can answer: "$mdnsent" keyword, the server can answer:
[[ "MDN/send", { [[ "MDN/send", {
"accountId": "ue150411c", "accountId": "ue150411c",
 End of changes. 6 change blocks. 
8 lines changed or deleted 8 lines changed or added

This html diff was produced by rfcdiff 1.48. The latest version is available from http://tools.ietf.org/tools/rfcdiff/