I\'m using Spring and JavaMailSenderImpl, a famous spring class to send emails. My emails contain a lot of unicode chars like èéàò or most notably the dreaded € symbol. My c
In my case, I resolved the encoding problem by specifying JavaMailSenderImpl's defaultEncoding:
mailSender = new JavaMailSenderImpl(); ... mailSender.setDefaultEncoding("UTF-8");
I believe you can also set the value in bean configuration:
...