linagora / james-project

Mirror of Apache James Project
Apache License 2.0
72 stars 62 forks source link

MimeMessageWrapper error Charsets #5125

Closed vttranlina closed 6 months ago

vttranlina commented 6 months ago

When I implemented i18n, I got the case that the content of mimMessage was not keeping the correct charset like the original

How to reproduce: https://github.com/apache/james-project/commit/7270004d3fc8e07f2caebbc3e2f818374d9a8d18

// related: https://github.com/linagora/tmail-backend/pull/970#discussion_r1522795500

chibenwa commented 6 months ago

Q encode the value in the headers