Skip to content

Mdn draft 01#288

Merged
neilj merged 5 commits into
jmapio:masterfrom
rouazana:mdn-draft-01
Mar 21, 2019
Merged

Mdn draft 01#288
neilj merged 5 commits into
jmapio:masterfrom
rouazana:mdn-draft-01

Conversation

@rouazana

Copy link
Copy Markdown
Contributor

This is the second version of the MDN draft, taking into accounts most comments made on linagora#18 and #253 and on IETF mailing list.

Comment thread spec/mdn/mdn.mdown
Original recipient address as specified by the sender of the message for which the MDN is being issued.
- **finalRecipient**: `String` (server-set)
Recipient for which the MDN is being issued.
- **originalMessageID**: `String|null` (server-set)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it of any use? I mean, we already have a mandatory forEmailId field that allows to find the original Email.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, when parsing an MDN there can be cases where you have the originalMessageID field but no matching email id

Comment thread spec/mdn/mdn.mdown

This method allows you to parse blobs as [@!RFC5322] messages to get MDN objects. This can be used to parse and get detailed information about blobs referenced in the *mdnBlobIds* of the EmailSubmission object, or any email the client could expect to be an MDN.

The *forEmailId* property can be null or missing if the *originalMessageID* property is missing or not referencing an existing email.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it make sense to parse it at all?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I don't understand your question

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean, If the MDN doesn't match any message you have, why would you want to parse it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because you could have lost the sent mail matching it, but still want to be informed of received MDN. Fields in the MDN can still be relevant to the user.

Comment thread spec/mdn/mdn.mdown Outdated
Comment thread spec/mdn/mdn.mdown
@@ -0,0 +1,278 @@
# Introduction

JMAP ([@!I-D.ietf-jmap-core] – JSON Meta Application Protocol) is a generic protocol for synchronising data, such as mail, calendars or contacts, between a client and a server. It is optimised for mobile and web environments, and aims to provide a consistent interface to different data types.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/synchronising/synchronizing

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I doubled check, it's English, not American, see here: https://jmap.io/spec-mail.html#introduction

@neilj
neilj merged commit 81159ee into jmapio:master Mar 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants