Extracting emails from mac mail

Bob Sneidar bobsneidar at iotecdigital.com
Wed Feb 5 21:42:36 EST 2014


An Applescript would probably do it. Barring that, each email is stored as a discreet file in the operating system, so given you know where that file resides, and you have permission to view it, you should be able to open them as a low level file and read them. (I’ve not attempted this so take that with a grain of salt). 

The trouble is, the actual email files are a bit scattered around the /Users/<yourprofile>/Library/Mail folder. Even once you get into the folder for a specific account, they can be in a number of folders, depending on what version of mail you run and how you connected etc. 

You would have to write (or purchase from another LC developer) some kind of path crawler to find them all, and then you would need a way to save which emails you have already processed. Not a minor project it seems. 

So I would poke around the internet first and see if someone has already written an Applescript for perusing the Apple Mail database/store. 

Bob


On Feb 4, 2014, at 17:36 , Jim Hurley <jhurley0305 at sbcglobal.net> wrote:

> I seem to recall that it was possible to extract the text from MAC Mail Mail boxes.
> 
> Am I dreaming?
> 
> Jim Hurley
> 
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list