MimeMessageHelper does not set filename on inline MimeBodyPart #33230
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
When we use MimeMessageHelper to add inline images those appears as "noname" attachment in gmail client, but are inlined correctly.
Even if we define.
But it not is an elegant presentation for us.
To solve this we override MimeMessageHelper to add fileName on
"public void addInline(String contentId, DataSource dataSource) throws MessagingException"
public class InlineFileNameMimeMessageHelper extends MimeMessageHelper {
}
And with this change we have te expected name on preview.
It is possible to add this or similiar behaviour on future releases?
Thank you.
The text was updated successfully, but these errors were encountered: