New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MailMessageConverter cannot handle base64 text content #300

gucce opened this Issue Oct 27, 2017 · 0 comments


None yet
2 participants

gucce commented Oct 27, 2017


In e-mails a text content of Content-Type=text/* may be encoded in Base64, which is indicated by a header Content-Transfer-Encoding: base64. The MailMessageConverter doesn't handle this case correctly, since it assumes the content to be of type String and does a hard cast, see here.


Take into account that the content may be of type InputStream in case of Base64 encoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment