How to set content type for emails sent using spring's JavaMailSenderImpl
I resolved my problem thanks to this post.
According to the post I put this in the mailSender bean configuration:
<property name="defaultEncoding" value="UTF-8"/>
You can set this as a property mail.mime.charset
in the JavaMailSenderImpl spring bean config. See an example answered at this previous query.