You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2024/08/12 15:37:00 UTC
[jira] [Updated] (NIFI-11977) Set UTF-8 in Subject for PutEmail
[ https://issues.apache.org/jira/browse/NIFI-11977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Handermann updated NIFI-11977:
------------------------------------
Summary: Set UTF-8 in Subject for PutEmail (was: Update bootstrap.conf to specify mail.mime.charset)
> Set UTF-8 in Subject for PutEmail
> ---------------------------------
>
> 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
> Assignee: Michael Akinyemi
> Priority: Major
> Labels: beginner, easyfix, newbie
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)