I am using Javamail (javax.mail) to send mails. I successfully adjusted contents of my mail as utf-8. However I could not set subject line as a utf-8 encoded string.
I t
Problem solved!
mail.setSubject(MimeUtility.encodeText(subject, "utf-8", "B"));
solves it and sends utf-8 encoded mail subjects.
Why there is that "B" why there isn't ISO-something?