smarthomej / addons

SmartHome/J addons for openHAB
Eclipse Public License 2.0
59 stars 23 forks source link

[mail] Fix sending HTML/Multipart mails #378

Closed J-N-K closed 2 years ago

J-N-K commented 2 years ago

The fix in #254 was not sufficient for multipart messages as they contain a DataHandler for each body part. The command map was only set for the outer mime part, not for the body parts. This is not a nice solution as it relies on internal implementation of other classes but it is not accessible otherwise.

Signed-off-by: Jan N. Klug github@klug.nrw

J-N-K commented 2 years ago

@hmerk You might be interested in this one.

hmerk commented 2 years ago

Thanks @J-N-K, will port this to openHAB-addons as we did for the other fix.