• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: mail.app save all attachments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >mail.app save all attachments (From: "stefan r.ernst" <email@hidden>)

  • Prev by Date: Re: [OT] Verification required?
  • Next by Date: Re: Filter threads for Mail.app (contribution)
  • Previous by thread: mail.app save all attachments
  • Next by thread: mail.app reset-- ideas?
  • Index(es):
    • Date
    • Thread