using automator applescript to get mail attachments

Discussion in 'macOS' started by sleedoh, Jun 24, 2009.

  1. sleedoh macrumors newbie

    Jun 24, 2009
    hi all, i would like to use either automator or applescript to get attachments from certain emails i get in mail that have the subject line that contains "Database Backup" then according to the first part of the subject to save the attachment into a folder with that name.

    For example if there is an email with "my first Database Backup" it would get the attachment and save it into a folder called "my first"

    is this possible?

    i did find this:

    not sure if this is the right route to take or not and if this can be modified to do what i would like as above?

    appreciate any help thanks
  2. Pablo23 macrumors newbie

    Jul 22, 2008
    It's funny you should ask this, I was trying to do a similar thing last night without success...any help would be appreciated!

Share This Page