Details
-
Bug
-
Resolution: Unresolved
-
Neutral
-
None
-
5.5.15
-
None
-
None
Description
The attachment filename with Arabic characters shows weird characters.
Customer has succeed on this task as explained on the linked support ticket:
I have extended the class "info.magnolia.module.mail.templates.impl.FreemarkerEmail" to encode the file name by overriding "addAttachment" method. I have used the below code to encode the filename.
MimeUtility.encodeText(attachment.getFileName());
See attachment section
Checklists
Acceptance criteria