Hi Jakub Yeah, it rings a bell to me. I think it has been discussed before on the mailing list. Let me find it.
Regards JB On Tue, Apr 12, 2022 at 8:13 PM Jakub Herkel <jher...@gmail.com> wrote: > > Hi, > > During testing I found out some problems with sending emails with > Karaf 4.3.6 As far as I know version 4.3.3 is working. So I tried > 4.3.4 and unfortunately this one it not working either. When I tried > to send email I could see this exception: > javax.mail.MessagingException: IOException while sending message > at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1350) > ~[?:?] > at javax.mail.Transport.send0(Transport.java:231) ~[?:?] > at javax.mail.Transport.send(Transport.java:100) ~[?:?] > ... > Caused by: javax.activation.UnsupportedDataTypeException: text/plain; > charset=UTF-8 > at javax.activation.DataHandler.writeTo(DataHandler.java:75) > ~[org.apache.servicemix.specs.activation-api-1.2.1-1.2.1_3.jar:1.2.1_3] > at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1670) ~[?:?] > at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1880) ~[?:?] > at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1300) > ~[?:?] > ... 19 more > > I checked some differences between 4.3.4 and 4.3.3. I found out that > the exception was gone when I removed line > javax.activation;version="1.2.1" (jre-9 section) > from jre.properties. > I also checked all activation bundles that we have got: > 76 │ Active │ 80 │ 1.2.1.3 │ Apache ServiceMix :: > Specs :: Activation API 1.2.1 > 145 │ Active │ 10 │ 1.2.2 │ Jakarta Activation > > Does anybody know what is wrong? Or is there anything that needs to be > done (updated/reconfigured) for Karaf 4.3.6? > > Thanks in advance > > Jakub