procmail
[Top] [All Lists]

Re: Extract Content-Type: text/plain;

2003-06-06 01:00:10
At 09:20 2003-06-06 +0200, Frank =?UNKNOWN?Q?N=F8rvig?= wrote:
Is it possible to extract part of a body, ex. only the "Content-Type: text/plain;" part?
Can it be done with formail?

formail doesn't do that.

If you write an external prog (in C, Perl, whatever), you can assign it to a variable in procmail:

:0
TEXTPART=|/path/to/your/program

sed strikes me as a possible way to do what you want.

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>