[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: decode in mail
From: |
Sergey Poznyakoff |
Subject: |
Re: decode in mail |
Date: |
Thu, 26 Jul 2001 15:36:16 +0300 |
> An did a very quick and dirty implementation.
> But any idea How handle mime, attachements etc ... ?
The first idea that comes to mind is the ability to store message
parts in files, like this:
decode MSG-NO PART [OUT-FILE]
Afterwards one would be able to view the part with an appropriate
program..
Maybe we can also keep some kind of association table, for example:
Content-Type Program
------------------ -------
application/x-gzip gzip -d
text/html lynx
text/plain <internal>
etc...
then, when one issues a command like `decode 1 2' and there is an
entry corresponding to the content-type of part 2, then the part 2
is stored in a temporary file and the program listed in the entry is
started with the filename as its argument.
-Sergey
- decode in mail, Alain Magloire, 2001/07/25
- Re: decode in mail,
Sergey Poznyakoff <=