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?
Yes, the solution is to remove
org.apache.commonsartifactcommons-emailand includegroup: 'jakarta.mail', name: 'jakarta.mail-api', version: '2.1.2'as dependency.