Nov 5, 2017

Send javax.mail.internet.MimeMessage to a recipient with non-ASCII name

Send javax.mail.internet.MimeMessage to a recipient with non-ASCII name, use

new InternetAddress(recip.getAddress(), recip.getPersonal(), "utf-8");

// instead of

new InternetAddress(recip.getAddress(), recip.getPersonal());

Post a Comment

Featured Post

Datasets

Google Tables helps you search thousands of public Fusion Tables, or millions of public tables from around the web you can import to Fusio...