Re: mail.app save all attachments
Re: mail.app save all attachments
- Subject: Re: mail.app save all attachments
- From: Graff <email@hidden>
- Date: Mon, 29 Dec 2003 12:18:19 -0500
It looks like this kind of functionality isn't built into Mail.app's
AppleScript dictionary. There is an attachment class but it looks like
it is just for text attachments and for creating messages.
So you would probably need to get the raw source for the message and
parse out the MIME components, then figure out how to decode those
components (usually base64 encoded) and save them. That's a real pain
in the arse, but it can be done.
Unless someone sees something that I missed, it looks like there is no
easy answer to this.
- Ken
On Dec 29, 2003, at 9:33 AM, stefan r.ernst wrote:
good day!
i'm looking for a proper script that can be attached to a rule in
mail.app that, on rule match, saves all the attachments of the mail to
a specified folder and then deletes the mail.
i haven't really found any useful info via google/apple.com on that.
any hints/suggestions/solutions would be appreciated,
thanks a lot,
_______________________________________________
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.