Open jbescos opened 7 months ago
@jmehrens I am redesigning it, because I found more usages of StreamProvider
. I moved the getStreamProvider
to the Part
interface.
Need to add entry to https://github.com/jakartaee/mail-api/blob/master/doc/release/CHANGES.txt
Need to add entry to https://github.com/jakartaee/mail-api/blob/master/doc/release/CHANGES.txt
Done
Lets wait for @lukasj review too. My impression is this requires the new version 2.2.0, and we will need other PR before to upgrade to that version.
Side note: we'll have to review some of the Angus packages that also extend the classes here. DSN is an example. I glossed over it and I think it is a case of no changes need but something we should keep an eye on.
https://github.com/jakartaee/mail-api/issues/699
It will try to get the StreamProvider from the session of the Message.