I\'m having problems with parse method when usising ñ
character:
essage.setRecipients(Message.RecipientType.TO, internetAddress.parse(\"somedir.
To send emails to addresses with non printable characters (like ñ), you must encode the email address using UTF-8.
Accented characters were not allowed by original RFC 5322 Internet Message Format. But since, RFC 6532 (Internationalized Email Headers) offered a way to use international characters in email addresses.
Check this StackOverflow question for more details.