Uploaded image for project: 'Magnolia Mail Module'
  1. Magnolia Mail Module
  2. MGNLMAIL-151

Support UTF8 encoding for attachment filename

    XMLWordPrintable

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

        Attachments

          Activity

            People

              Unassigned Unassigned
              ccantalapiedra Carlos Cantalapiedra
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD