Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-11977

Update bootstrap.conf to specify mail.mime.charset

    XMLWordPrintableJSON

Details

    Description

      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:

      java.arg.mail.charset=-Dmail.mime.charset=UTF-8

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            markap14 Mark Payne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: