Closed slava92 closed 3 years ago
Thank you for the change. I think I understand it, but would you mind updating or adding a test with the scenario you've encountered?
Good point! Will do.
I added a unit test for 'make-jmessage'. If you revert my tweak in message.clj
, the unit test starts to fail.
I'll go ahead and merge, thanks for the fix @slava92!
Great. Thanks for the helpful suggestions!
Invoking
.setText
on MimeMessage forcefully setsContent-Type:
header totext/plain
, overriding original value if it was there. The workaround is to set body text first then add the remaining headers. .setText API Best! Slava