You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2023/08/22 14:16:00 UTC

[jira] [Created] (NIFI-11977) Update bootstrap.conf to specify mail.mime.charset

Mark Payne created NIFI-11977:
---------------------------------

             Summary: Update bootstrap.conf to specify mail.mime.charset
                 Key: NIFI-11977
                 URL: https://issues.apache.org/jira/browse/NIFI-11977
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Configuration, Core Framework
            Reporter: Mark Payne


The PutEmail processor makes use of the Jakarta Mail library. The does not allow specifying the character set used for the email subject, though it does for the message body. As a result, if there are unicode characters, they do not come across properly in the subject but instead have a bunch of question marks instead.

However, the issue appears to be resolved by updating conf/bootstrap.conf with the following:
{quote}java.arg.mail.charset=-Dmail.mime.charset=UTF-8
{quote}

Given that we make UTF-8 the default everywhere else that we have the ability to specify it, we should include this by default in bootstrap.conf



--
This message was sent by Atlassian Jira
(v8.20.10#820010)