Skip to content

Attachment (file)names with special characters should not be encoded #271

Closed
@barkep

Description

When adding an attachment:
Testowy_załącznik_ąśćńółęĄŻŹĆŃÓŁĘ.txt
to an email and positive delivery, the recipient receives the attachment with the changed name:
=UTF-8_Q_Testowy=5Fza=C5=82=C4=85cznik=5F= =UTF-8_Q=C4=85=C5=9B=C4=87=C5=84=C3=B3=C5=82=C4=99=C4=84=C5=BB_= =UTF-8_Q=C5=B9=C4=86=C5=83=C3=93=C5=81=C4=98.txt_=.txt

After a small investigation, I find that the reason for this is using
MimeUtility.encodeText (name, UTF_8.name (), "B")
for the name of the attachment. I suggest using one of two solutions:

  • adding a parameter that allows you to skip this action for attachments
  • skipping this action for attachments

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions