Hello everyone.
I found a bug when trying to send email from keycloak to users with encoding against
English.
For example, when I try to send Russian message with subject "Обновите вашу учётную
запись" I see "????????????? ?????? ??????????? ?????" in my email.
I think you should update org.keycloak.email.DefaultEmailSenderProvider class with line
msg.setSubject(subject);
to
msg.setSubject(MimeUtility.encodeText(subject, "utf-8", "B"));
Thanks.
Nekrasov Aleksander,
Developer,
Center of Financial Techologies