Benoit Tellier created JAMES-3537:
-------------------------------------

             Summary: Email/set create should support attached messages
                 Key: JAMES-3537
                 URL: https://issues.apache.org/jira/browse/JAMES-3537
             Project: James Server
          Issue Type: Sub-task
          Components: JMAP
    Affects Versions: 3.6.0
            Reporter: Benoit Tellier
            Assignee: Antoine Duprat


Today blob resolution upon Email/set create relies on the attachment manager, 
and not on the blob resolver.

This means only uploaded blobs and blobs of email attachments are supported for 
Email/set create attachment properties.

This thus excludes:
  - blobs of other messages
  - blobs of non-attachment bodyParts (eg text/html)

One use case is sending attached messages.

*How:* EmailCreationRequest::toMime4JMessage should rely on the BlobResolver 
rather than on the AttachmentManager

*Definition of done*:

 - No regression on existing integration tests
 - Adda new integration test sending an attached message, referncing the blobId 
of an other message as an attachment. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to