[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: email parser



Chad Kouse <chad@aheadhosting.com> said:

> That's beautiful... what about attachments?  Can I get the attachments
> into a blob field to be decoded at a later date with a MIME decoder ?
> or does that sound ridiculous ?

the formail tool only deals with header fields.  It can extract or 
add arbitrary headers.

If you want to deal with message bodies you'll have to deal with
more capable mail parsers, perhaps invoked via procmail.

Simeon

> -----Original Message-----
> 
> Or if you're on a UNIX system, you might want to investigate the
> procmail
> package to extract headers.  formail will do all of these things for
> you.
> 
>    Display only the body:  formail -I ""
>    Display Subject: formail -XSubject:
>    Display To: formail -XTo:
>    Display From: formail -r -t -XTo:

-- 
If you're not outraged, you're not paying attention


---------------------------------------------------------------------
To sign-off this list, send email to majordomo@mhonarc.org with the
message text UNSUBSCRIBE MHONARC-USERS


[Index of Archives]     [Bugtraq]     [Yosemite News]     [Mhonarc Home]