You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Richard Zowalla (Jira)" <ji...@apache.org> on 2026/09/25 18:50:00 UTC
[jira] [Closed] (TOMEE-4547) MultipartMessage not build correctly with Jakarta.mail / Interferes with Geronimo-mail
[ https://issues.apache.org/jira/browse/TOMEE-4547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Zowalla closed TOMEE-4547.
----------------------------------
Resolution: Fixed
Fixed by the upgrade to Geronimo Mail 1.1.0 (https://github.com/apache/tomee/commit/4029d07b46).
> MultipartMessage not build correctly with Jakarta.mail / Interferes with Geronimo-mail
> --------------------------------------------------------------------------------------
>
> Key: TOMEE-4547
> URL: https://issues.apache.org/jira/browse/TOMEE-4547
> Project: TomEE
> Issue Type: Bug
> Components: TomEE Build
> Affects Versions: 10.1.2
> Environment: tomee-plume-10.1.2, java 17.
> Reporter: Jens Heitmann
> Priority: Major
> Labels: geronimo, jakarta, mail, multipart
> Fix For: 11.0.0, 10.3.0
>
>
> Sending an multipart mail is not working with Jakarta-mail.
> I've tried the following:
> 1. Jakarta-mail in web app/WEB-INF/lib
> * Sending a simple email is working well.
> * Using port 465 works.
> * building a multipart mail (like from the jakarta.mail examples site) results in an "empty body".
> 2. without Jakarta-mail in web app/WEB-INF/lib
> * Seems to build well the MimeMessage
> * Sending via 465 fails
> I was not able to create a configuration, that handles both situations well. Even if commons-email2-jakarta is used, too.
> I've tested the build of the message with:
> {code:java}
> mail.writeTo(output){code}
> It seems to interfere with the jakarta mail implementation in the tomee/lib directory. The javax version of the project works well, with javax.mail & commons-mail
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)