Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > eMail Question: import raw message content for reports?

eMail Question: import raw message content for reports?
Thread Tools
Fresh-Faced Recruit
Join Date: Oct 2007
Status: Offline
Reply With Quote
Oct 22, 2007, 08:02 AM
 
I get over 100 email alerts each week which are important to my business that contain about 12 data points pertaining to certain customer event activity. These messages are in the exact same format and content so there is little variation, in fact, you could assume they have "fields" that could be used to extract the relevant data needed.

I'm interested in using some sort of tool such as FileMaker or Crystal Reports, etc. and point to the email folder where the *.emlx files exist and have the tool import all of the relevant data then allow me to report on these 12 data points.

Is this something that someone here has done and if so, what tips can you give me to help me short-circuit the process. I'm not much of a programmer so please keep it as simple as possible.

Thanks in advance...
-- JimN
     
Mac Elite
Join Date: Jul 2003
Location: Body in London, mind elsewhere
Status: Offline
Reply With Quote
Oct 23, 2007, 04:58 AM
 
Not my area of knowledge but is this what you are after?

Bits and Pieces: Use modular XSLT to simplify importing XML data into FileMaker

You might have better luck posting on Filemaker based forum site, if that's the route you choose.

here's one FileMaker and E-mail - FileMaker Pro Online Community
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Oct 23, 2007, 09:01 AM
 
It wouldn't be too hard to write a script that would search through the emails that grep finds as containing various patterns, and then applying regular expression pattern matching to parse out the data you are interested in.

However, this would obviously involve some programming which it sounds like you want to avoid... so....
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Oct 23, 2007, 10:41 AM
 
Let me know if you'd like me to lay out a skeleton script for you... I do this kind of thing all the time.
     
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status: Offline
Reply With Quote
Oct 23, 2007, 11:30 AM
 
If you can post a sample email (with actual sensitive content replaced by random text, obviously), I or besson3c or a dozen others could quickly work up a Ruby or Perl or Python script to parse the emails. Then it's just a question of what kind of output you want -- whether FileMaker or Crystal Reports or MySQL or a generic tab-delimited or CSV file that you could import to anything.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:55 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2