- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
NiFi PutEmail sends an email with non utf-8 body text
- Labels:
-
NiFi Registry
Created 10-19-2020 11:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I want to send and email using PutEmail with czech characters in email html body. I used UTF-8 charset, but it does not work, I'm keep getting emails with question marks instead of correct czech special characters. But subject text shows characters correctly.
When checking data provenance, everything is ok.
Can you please help me with processor configuration? What am I doing wrong?
Screenshots of my setup below.
Thanks a lot
Rgds
Ludvik
I'm getting message text in incorrect charset
Created 10-20-2020 06:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ok, just figured it out. In the "content type" property of PutEmail, there must be charset defined as well, just like this: text/html;charset=utf-8
Created 10-20-2020 06:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ok, just figured it out. In the "content type" property of PutEmail, there must be charset defined as well, just like this: text/html;charset=utf-8
