Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mail] Fix sending HTML/Multipart mails #378

Merged
merged 1 commit into from
Jul 3, 2022

Conversation

J-N-K
Copy link
Member

@J-N-K J-N-K commented Jul 2, 2022

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

Signed-off-by: Jan N. Klug <github@klug.nrw>
@J-N-K J-N-K added the bug Something isn't working label Jul 2, 2022
@J-N-K J-N-K added this to the 3.2.13 milestone Jul 2, 2022
@J-N-K
Copy link
Member Author

J-N-K commented Jul 2, 2022

@hmerk You might be interested in this one.

@hmerk
Copy link

hmerk commented Jul 2, 2022

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

@J-N-K J-N-K merged commit 9ef4c3f into smarthomej:3.2.x Jul 3, 2022
@J-N-K J-N-K deleted the fix-sendhtmlmail branch July 3, 2022 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants