[ 
https://issues.apache.org/jira/browse/JAMES-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16396671#comment-16396671
 ] 

Tellier Benoit commented on JAMES-2346:
---------------------------------------

https://github.com/linagora/james-project/pull/1311 solved the issue

> Add a JMAP API to send MDN
> --------------------------
>
>                 Key: JAMES-2346
>                 URL: https://issues.apache.org/jira/browse/JAMES-2346
>             Project: James Server
>          Issue Type: New Feature
>          Components: JMAP
>    Affects Versions: master
>            Reporter: Tellier Benoit
>            Assignee: Antoine Duprat
>            Priority: Major
>             Fix For: 3.1.0
>
>
> The goal is to allow Inbox to send MDN without requiring them to forge the 
> message.
> For that we need to to add a new argument to setMessages method (for the 
> moment the migration to MessageSubmission is out of scope). We already have 
> create / update / destroy.
> Here we add:
> {code:java}
> sendMDN: String[MDN]|null a map of creation id (an arbitrary string set by 
> the client) to MDN objects (see below for a detailed description).
> {code}
> And here is for the MDN object:
> {code:java}
> messageId: String id of the message which we want to send an MDN for
> subject: String human readable summary of the MDN (eg. "Read: subject of the 
> original message")
> textBody: String human readable explanation of the MDN
> reportingUA: String will be used as is as the reporting-UA field
> disposition: Disposition
> {code}
> And Disposition:
> {code:java}
> actionMode: "manual-action" | "automatic-action"
> sendingMode: "MDN-sent-manually" | "MDN-sent-automatically"
> type: "displayed" | "deleted" | "dispatched" | "processed"
> {code}
> Note that here messageId is the JMAP Message Id, not the header one.
> In case of error, the `creationId` used should be returned in a `MDNNotSent` 
> property.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to