Problematic Mail Attachments FYI and Question
Problematic Mail Attachments FYI and Question
- Subject: Problematic Mail Attachments FYI and Question
- From: Christopher Stone <email@hidden>
- Date: Mon, 27 Aug 2018 13:10:23 -0500
Hey Folks,
I'm assuming Mail thinks .as files are dangerous, because Mail will NOT let me
extract them from emails.
(I have a friend who sometimes sends me scripts with that suffix.)
I can't drag and drop – or use the save-attahcments mechanisms – or even use an
AppleScript extraction method.
It royally ticks me off that I can't access MY data, so I wen't hunting for a
means to end-run Apple's over-aggressive paternalism.
The `mpack` command line utility does the job (available from MacPorts or
Homebrew).
https://superuser.com/questions/406125/utility-for-extracting-mime-attachments
<https://superuser.com/questions/406125/utility-for-extracting-mime-attachments>
I can drag a recalcitrant email into the Finder and then run:
cd <dir>
munpack -t theFileName.eml
The utility is not especially smart – i.e. it won't detect every file type and
provide appropriate file extensions – but it's good enough (so far) to get the
attachments and the text out.
So far it's correctly recognized .scpt and .zip files, but I have to manually
manage any html or text files that are extracted.
Now you know what I know. :)
My question is – What do you know?
Is there a nice, clean, neat, better way of doing this?
--
Take Care,
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden