• 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: Help with retrieving messages from GMail account in Mail.app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with retrieving messages from GMail account in Mail.app


  • Subject: Re: Help with retrieving messages from GMail account in Mail.app
  • From: Joel Esler <email@hidden>
  • Date: Fri, 01 Jul 2011 12:31:29 -0400

Make a smart folder in mail with beginning and end dates. Then you can move the mails you want into "x" folder. 

Sent from my iPhone

On Jul 1, 2011, at 12:01, John Kane <email@hidden> wrote:

Are smart folders scriptable? I can't find them in a mailboxes list

On Thu, Jun 30, 2011 at 11:24 PM, Joel Esler <email@hidden> wrote:
Use a Smart folder.


On Jun 30, 2011, at 3:19 PM, John Kane wrote:

Thanks, this is the recipe that I was looking for. Unfortunately, as previously commented on by Joel, this will not work for me on GMail/All Mail, I will have to rethink my approach. But this recipe does work for smaller / faster mailboxes :-)

On Thu, Jun 30, 2011 at 12:05 PM, Michelle Steiner <email@hidden> wrote:
On Jun 30, 2011, at 10:47 AM, John Kane wrote:

I want to copy messages in a target date range into a folder (for further processing)

This will return all the messages in selected mailboxes that were sent in June 2011:

tell application "Mail"
tell message viewer 1
messages whose date sent is greater than date "Tuesday, May 31, 2011 11:59:59 PM" and date sent is less than date "Friday, July 1, 2011 12:00:00 AM"
end tell
end tell

You could use date received instead of date sent, if that's what you need, but the results would be the same except for messages sent in May and received in June, or sent in June and received in July.

-- 
Prius:  Kicks Gas


 _______________________________________________
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


_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)

Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


 _______________________________________________
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

  • Follow-Ups:
    • Re: Help with retrieving messages from GMail account in Mail.app
      • From: Luther Fuller <email@hidden>
References: 
 >Re: Help with retrieving messages from GMail account in Mail.app (From: John Kane <email@hidden>)

  • Prev by Date: Re: Help with retrieving messages from GMail account in Mail.app
  • Next by Date: Re: Help with retrieving messages from GMail account in Mail.app
  • Previous by thread: Re: Help with retrieving messages from GMail account in Mail.app
  • Next by thread: Re: Help with retrieving messages from GMail account in Mail.app
  • Index(es):
    • Date
    • Thread