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

marktronics

macrumors newbie
Original poster
Oct 18, 2010
22
22
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!
 
You need to create a new rule in Mail that has its action set to run your script. Look at this post for a basic template to get you started.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.