#3108 ✓fixcommitted
Tee Yen Ng

Long attachement filenames not being displayed

Reported by Tee Yen Ng | August 1st, 2022 @ 12:56 PM

Hi,

When I receive email from iOS Mail users which have attachments with long filenames Mailmate will only display the attachments as Attachment.XXX. The XXX will match the actual filename extension (i.e. pdf/docx/etc).

When I look at the raw message, the headers look like this:

Content-Type: application/x-custom-type;
    name*0=some_really_long_filename_that_goes_beyond_the_78_character_limit_of;
    name*1=mime_line.pdf
Content-Disposition: attachment;
    filename*0=some_really_long_filename_that_goes_beyond_the_78_character_limit;
    filename*1=_of_mine_line.pdf

I'm not sure if this is some oddity of iOS Mail, or some dusty part of a standard?

When Mailmate sends email, it doesn't seem to wrap the filename.

Cheers,
Yen

PS: on a side note, this ticket is being marked as spam. Not sure if me adding some more text to it will help matters, but here's trying!

Comments and changes to this ticket

  • benny

    benny August 11th, 2022 @ 12:29 PM

    • State changed from “new” to “fixcommitted”

    Attachment file names are badly standardized, but in this case MailMate is to blame (for not supporting the *-style). I do believe I already fixed it though. Could you check for me and let me know if I'm wrong: Hold down ⌥ when clicking “Check Now” in the Software Update preferences pane to get the latest test release.

  • Tee Yen Ng

    Tee Yen Ng April 3rd, 2023 @ 09:24 AM

    Hi Benny,

    I'm still seeing this issue on version 1.14 (5964).

    Below are some snaps from live examples that still show Attachment.pdf

    Example 2 is an interesting one—the Content-Type name is encoded differently than the Content-Disposition filename.

    The former is just enclosed in double quotes (") as normal; but the latter starts with utf8'' and the balance of the line is URL encoded.

    Cheers,
    Yen

    Example 1

    Example 2

    Example 3

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Pages