Re: mail.app save all attachments
Re: mail.app save all attachments
- Subject: Re: mail.app save all attachments
- From: Graff <email@hidden>
- Date: Tue, 30 Dec 2003 00:59:44 -0500
Nice one! A very good idea to have Stuffit Expander do the dirty work,
it handles this nicely.
The only hiccup I saw was that resource forks get sent base64 encoded
as a separate attachment from Mail.app unless you send the attachment
as "Windows Friendly". When Stuffit Expander decodes an attachment
sent in this manner you end up with 2 files, one named "foo.bar" and
the other named "foo.1.bar". The first file is a kind of mangled
resource fork and the second is the data fork.
I looked for a simple way to re-merge the two forks and found none. I
tried directly copying the contents of first file to the resource fork
of the second (it is located at "filename/..namedfork/rsrc") and that
didn't seem to work correctly. Anyone else have any idea of how to
re-merge a data fork and a resource fork in this kind of situation?
-Ken
On Dec 29, 2003, at 10:16 PM, Andreas Amann wrote:
The following script works - both when run as well as when triggered
from a rule in Mail (requires 10.2.3 or higher, including 10.3.x).
Requires StuffIt Expander (for decoding the MIME parts)
And, of course, there will be some spurious return characters added by
the mailer...
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.