Please create a JIRA. If you want to submit a PR that would be welcome as well.

On 6 June 2016 at 14:12, Nekrasov Aleksandr <a.nekrasov@ftc.ru> wrote:

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


_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user