3

As I updated my Spring Boot application to Java 17 and Spring Boot 3, I migrated from Java EE to Jakarta. I used the MimeMessageParser of org.apache.commons.mail.util.MimeMessageParser, but it expects a javax.mail.internet.MimeMessage rather than a jakarta.mail.internet.MimeMessage.

I thought there might be an update of org.apache.commons artifact commons-email, but I already use the current version (1.5).

Has someone found a solution how to replace the MimeMessageParser?

Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197
pinacolada
  • 51
  • 2
  • 1
    I've been looking into this for a while now. I ended up decompiling the class I needed from `commons-email`, and migrating them manually to `jakarta` then using them as internal classes You can also clone the `commons-email` repo, migrate and compile it, then use that jar instead of the one on Maven central – aalshabaan May 02 '23 at 07:19

0 Answers0