#2220 ✓fixcommitted
Scott Paterson

Filename for attachments?

Reported by Scott Paterson | January 6th, 2019 @ 08:35 PM

My attachments say (for example): Image image/jpeg 117.6 KiB [Quick Look] [Save]

Could it say the actual filename too somewhere?

Thanks,

-Scott

Comments and changes to this ticket

  • Scott Paterson

    Scott Paterson January 6th, 2019 @ 11:06 PM

    Sorry, this is probably not a valid ticket. Most attachment names are shown. I run a website and one of my pages allows users to upload a file for me to review but it always shows the name "Image" in Mailmate, but when I drag the it out of Mailmate and on to my desktop, it saves as the actual filename...

    -Scott

  • benny

    benny January 18th, 2019 @ 11:58 AM

    You are welcome to send me an example using “Help ▸ Send Feedback” (drag the email into the message). It does sound like MailMate should be able to display something better than “Image”.

    Alternatively, use “View ▸ Show Raw Message” to find the headers for the attachment and then post them here if they are non-sensitive.

  • Scott Paterson

    Scott Paterson January 18th, 2019 @ 11:03 PM

    Return-Path: x@x.com
    Received: from x.com (localhost.localdomain [127.0.0.1])
    Date: Fri, 18 Jan 2019 14:52:51 -0800
    Message-Id: 201901182252.x@x.com
    To: x@sx.com
    Subject: Classified Photos Submitted
    From: x@x.com
    MIME-Version: 1.0
    Content-Type: multipart/mixed;
    boundary="----=_NextPart_e18c10c3f934990ad27d9ff3dea50fba";

    This is a multi-part message in MIME format.

    ------=_NextPart_e18c10c3f934990ad27d9ff3dea50fba Content-Type: image/jpeg
    Content-Transfer-Encoding: base64
    Content-Description: Image
    Content-Disposition: attachment; filename="20190117_120301_LI.jpg"

    /9j/4AAQSkZJRgABAQEAAAAAAAD/4RFERXhpZgAATU0AKgAAAAgABQEPAAIAAAAIAAAIVgEQAAIA AAAJAAAIXodpAAQAAAABAAAIaIglAAQAAAABAAARKOocAAcAAAgMAAAASgAAAAAc6gAAAAgAAAAA
    etc.. etc...

  • benny

    benny January 19th, 2019 @ 11:10 AM

    • State changed from “new” to “accepted”

    Ok, this makes it expected behavior. The Content-Description header is described here.

    But I'll note that when I create a new attachments interface I should make both description and filename available.

  • Scott Paterson

    Scott Paterson January 19th, 2019 @ 06:45 PM

    Thanks, Benny! I've changed my code to include the filename as description for Content-Description.

    -Scott

  • benny

    benny April 29th, 2020 @ 11:14 AM

    I've implemented that MailMate will display the filename instead of the description (which is most often useless) in a future release with a new attachment view. It'll be part of an update with the new message view (no time frame on that yet, but I'll update this ticket).

  • benny

    benny September 22nd, 2022 @ 11:34 AM

    • State changed from “accepted” to “fixcommitted”

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