Mail binding "UnsupportedDataTypeException" error

I’m having oddness with the mail binding…

I have a startup rule that sends an email when openhab starts, this works fine when openhab starts and I get an email. The script in the rule is:

val mailActions = getActions("mail","mail:smtp:a36a1f25cf") 
val success = mailActions.sendMail("my@email.address", "OpenHAB 3 Startup", "OpenHAB 3 has started.")

However if I click the ‘Run rule’ option, or I try to send an email via DSL or javascript rules I get the following error on the log:

[ab.binding.mail.internal.SMTPHandler] - Sending the email to the following server failed :
[ab.binding.mail.internal.SMTPHandler] - javax.mail.MessagingException: IOException while sending 
message; nested exception is: javax.activation.UnsupportedDataTypeException: text/plain; charset=UTF-8

I’m running 3.2.0 Release Build, on openhabian with openjdk 11.

Any help, or pointers would be appreciated.



Many thanks, no idea how I missed seeing those in my searches.

Fix just got meged and will be part of the next SNAPSHOT and upcoming Milestone…