I am having problem with Java Mail API.
I can successfully send mail, but some special characters (from ISO-8859-2 languages like czech, slovak) are not shown in mail. They are damaged even in IDE output.
What am I doing wrong?
Message msg = new MimeMessage(session);
msg.setContent(message, "text/plain; charset=iso-8859-2")