On Thu, Sep 30, 1999 at 09:03:33AM +0200, Andre Anneck wrote:

There are already tools available to parse messages, and extract
information. The mess822 package by DJB will do a very good job of
extracting headers. And the reformime tool from the maildrop package
will let you work with the content of messages bodies.

> Hello everybody,
> 
> I would like to have qmail pipe all incomming email into a bash script.
> How can I exctract Email informations like Headers, Text, Attachment,
> from the incomming mail?
> is it like reading a file line by line, and write regular expressions to
> catch the different informations
> or is the mail provided by qmail setting some flags, arrays, ...?
> 
> In general, since I didnt start with that little project yet... and if
> someone
> has anything like this, or heard of it, I would appreciate any informations.
> 
> I dont feel a big need to re-invent the wheel ;-), thus if something is out
> there that already does the parsing of emails, let me know ;-)

-- 
See complete headers for more info

Reply via email to