[opensource] automated email parsing

William R. Lorenz wrl at express.org
Mon Apr 14 21:41:02 EDT 2008


Peter,

On Mon, 14 Apr 2008, Peter Dietz wrote:

> Paul Betts a while back made a door access email program that accepted 
> input from an email, and then was able to parse it, extract data, and 
> then make a decision on it. [...] (why do I think I'm going to get a 
> reply that I should go learn perl...)

Install procmail.  Then, go learn Perl. ;-)


> I would like to some similar thing, (not related to the door, nor will 
> it be likely to cause a stir), but it would need to take in emails, grab 
> the data, and in my case, put it in a mysql database. My question is, 
> where do I begin?
>
> I'm comfortable doing processing of strings, so that I can do, but how 
> do I get a program I make get activated by emails, and so and so forth.
>
> for an example, here is some sample data... (for football)
> Statistics                  phant0mX22        BUDDHA1010
> Rushing attempts for                  5              27
> Rushing yards for                    23             286
> Passing attempts for                 30              16
> Passing yards for                   417             159
> Punts                                 1               0
>
> Thank you. (why do I think I'm going to get a reply that I should go 
> learn perl...)

-- 
William R. Lorenz


More information about the Opensource mailing list