Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

NiFi PutEmail sends an email with non utf-8 body text

avatar
Contributor

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

 

Luwi_0-1603130449555.png

I'm getting message text in incorrect charset

 

 

Luwi_1-1603130508363.png

Luwi_2-1603130547871.png

 

 

1 ACCEPTED SOLUTION

avatar
Contributor

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

View solution in original post

1 REPLY 1

avatar
Contributor

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