+1

Best regards,

Lukas

Am 28.07.26 um 13:57 schrieb Mridul Pathak:
Hi all,


I'd like to propose upgrading OFBiz's mail library from javax.mail to its
modern replacement, Jakarta Mail (Eclipse Angus Mail).


*javax.mail 1.6.2* predates the Jakarta EE rename, and OFBiz's servlet
layer has already made that jump (Tomcat 10.1 / jakarta.servlet, Java 17) —
mail is one of the pieces still lagging behind. The library's own upstream
has moved too: Sun/Oracle's JavaMail implementation is now maintained as
Eclipse Angus Mail against the Jakarta Mail API spec.


In practice, that's a straightforward swap: *com.sun.mail:javax.mail:1.6.2*
becomes *jakarta.mail:jakarta.mail-api + org.eclipse.angus:angus-mail*,
with the affected imports renamed to match. It's a pure API-surface change,
with no behavioral difference.


Planning to file a JIRA ticket shortly — let me know if anyone sees a
reason to avoid this.


Thanks,

Mridul Pathak

--
Lukas Finster
Softwareentwickler & Berater

ecomify GmbH, Stralsunder Straße 63, 33605 Bielefeld
Fon: +49 521 448157-90 | Fax: +49 521 448157-99 | www.ecomify.de
Court Registration: Amtsgericht Bielefeld, HRB 41683 | CEO: Martin Becker, 
Michael Brohl

Reply via email to