[Alpine-info] How to print faxes automatically
Lucio Chiappetti
lucio at lambrate.inaf.it
Mon Jan 17 00:42:57 PST 2011
On Fri, 14 Jan 2011, Matt Ackeret wrote:
> On Fri, 14 Jan 2011, lists.alpine-info at duinheks.nl wrote:
>> 2. What should to script look like to extract the pdf file.
> That's WAY beyond the scope of this list.
True, but we can at least give the OP a couple of hints.
(1) read RFC 2046 to know how to deal with MIME attachments in
a multipart message
(2) for instance I read it, and devised a filter script which (run
via procmail) removes HTML attachments from a mail message and
replaces them with a short text reminder.
You can get an idea from
http://sax.iasf-milano.inaf.it/~lucio/Procmail/noquotenohtml.html
(which also contains the URL to RFC 2046 near the top !)
--
------------------------------------------------------------------------
Lucio Chiappetti - INAF/IASF - via Bassini 15 - I-20133 Milano (Italy)
------------------------------------------------------------------------
Italian Research at risk. La Ricerca italiana a rischio !
see http://sax.iasf-milano.inaf.it/~lucio/WWW/Opinions/nobrain.html cfr.
More information about the Alpine-info
mailing list