• 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: John Kane <email@hidden>
  • Date: Sat, 02 Jul 2011 22:40:16 -0600

Sorry, I am not intentionally being obtuse; let me attempt to state the use case again:

* Start the script
* Read a file, say lastRan, looking for the last time the script ran, and set that as lastRunDateAndTime
* Loop through all messages in [Gmail]/All Mail folder
  * If the message has a sent date greater than or equal to lastRunDateAndTime, copy the message into a specified destination folder
* After all messages in [Gmail]/All Mail folder have been processed, write the current Date and Time Stamp into the file lastRan
* Terminate the script

I have other stuff that will process the destination folder later, that part works like a champ

Mail.app might not be the correct solution for this, I am currently re-investigating fetchmail and something newer (to me) offlineimap; The latter shows some promise; I can probably do all of this from the UNIX realm


On Sat, Jul 2, 2011 at 9:09 PM, Christopher Stone <email@hidden> wrote:
On Jul 02, 2011, at 20:39, John Kane wrote:
Sigh, I was hoping that I could do this in Mail.app ...
______________________________________________________________________

Hey John,

It may just be me but I don't feel you've described exactly what you're trying to do in enough detail.  I feel like pieces of the puzzle are missing.  What exactly are you trying to accomplish?

--
Best Regards,
Chris




 _______________________________________________
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)
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: Matthew Smith <email@hidden>
References: 
 >Re: Help with retrieving messages from GMail account in Mail.app (From: John Kane <email@hidden>)
 >Re: Help with retrieving messages from GMail account in Mail.app (From: Joel Esler <email@hidden>)
 >Re: Help with retrieving messages from GMail account in Mail.app (From: Luther Fuller <email@hidden>)
 >Re: Help with retrieving messages from GMail account in Mail.app (From: John Kane <email@hidden>)
 >Re: Help with retrieving messages from GMail account in Mail.app (From: Joel Esler <email@hidden>)
 >Re: Help with retrieving messages from GMail account in Mail.app (From: John Kane <email@hidden>)
 >Re: Help with retrieving messages from GMail account in Mail.app (From: Christopher Stone <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