I’m sending mails from a Java bean (the email bean from Tony McGuckin).
I have users with international characters in their Notes name (the Danish æ, ø and å). Something goes wrong when passing the Notes name to the Java bean .setSendTo() method, with the result that the email bean is unable to send the mail. The Java exception states:
NotesException: Unable to send mail, no match found in Name & Address Book(s)
I am also seeing the issue in the subject of the mail if subject contains international characters.
How can I ensure that the international characters work with the Java bean?
Take a look at MimeUtility. Specifically encodeWord or encodeText.
E.g.