better name for emails drag-n-dropped as files
Reported by Vincent Noel | May 22nd, 2012 @ 01:04 PM
When I drag-n-drop an email to the desktop, the file it creates has a rather uninformative name such as "46815.eml".
It would be best if the file would be named like "Subject (from so-and-so on such-date)", or something like that.
Thanks
Comments and changes to this ticket
-
benny May 23rd, 2012 @ 08:39 AM
- State changed from new to accepted
The default name is based on the internal unique ID of the message which is practical when I want to locate the original message in MailMate, but I can see that the average user is not going to find that very useful :-)
One problem with an alternative naming scheme is that it is more likely that multiple messages are going to have the same name, but that can be handled in the standard Mac OS X way (adding a number).
The simple and powerful way to implement this is to allow a format string to be defined for the filename used. The default should perhaps just be a nicely formatted subject. This one is taken from the display of the subject in the messages outline:
${subject.prefix:+${subject.prefix} }${subject.blob:+[${subject.blob}] }${subject.body}
Most of the time, a simple
${subject}
would work just as well, but I dislike extraneous space in subject lines :-)Adding sender and date would make it pretty long in general, but you would be able to customize it if you want that too.
For the record, the currently hardcoded name could be done with the following format string:
${#body-part-id}
Maybe I should also let
.eml
be part of the format string since some users may prefer.msg
or something else.I'll update this ticket with any progress on this issue. Comments are welcome. Format strings are “documented” here.
-
benny May 24th, 2012 @ 10:07 AM
- State changed from accepted to fixcommitted
Changed as suggested above and configurable using the
MmFilenameFormatString
preferences key.
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.
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.
People watching this ticket
Tags
Referenced by
- 257 drag-n-drop an email with a slash in its subject creates a folder in Finder Just to be clear, this bug/problem was introduced in a re...