Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Filename for attachments?

#2220

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

Could it say the actual filename too somewhere?

Thanks,

-Scott

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

State: fixreleased
Milestone: none
Assigned to: benny benny

Activity

  1. Scott Paterson
    Scott Paterson

    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

    January 6th, 2019 @ 11:06 PM

  2. benny
    benny

    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.

    January 18th, 2019 @ 11:58 AM

  3. Scott Paterson
    Scott Paterson

    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...

    January 18th, 2019 @ 11:03 PM

  4. benny
    benny
    • 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.

    January 19th, 2019 @ 11:10 AM

  5. Scott Paterson
    Scott Paterson

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

    -Scott

    January 19th, 2019 @ 06:45 PM

  6. benny
    benny

    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).

    April 29th, 2020 @ 11:14 AM

  7. benny
    benny
    • State changed from accepted to fixcommitted

    September 22nd, 2022 @ 11:34 AM

  8. benny
    benny
    • State changed from fixcommitted to fixreleased

    December 25th, 2024 @ 04:11 PM

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.