Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

marktronics

macrumors newbie
Original poster
Hey all,

I'm designing an app that allows users to email me crash reports if my app ever crashes. I'd like to leave Mail running on a computer and when an email comes through, a script runs that pulls the entire crash report and parses out relevant information.

I've got the entire parsing done, except I am manually copying the contents of the email into a file and then parsing that file.

What's the best way to set this up so I can the contents of the email be pushed into my parsing script?

Many thanks!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.