| mimify | index /usr/lib/python1.5/mimify.py |
Mimification and unmimification of mail messages.
decode quoted-printable parts of a mail message or encode using
quoted-printable.
Usage:
mimify(input, output)
unmimify(input, output, decode_base64 = 0)
to encode and decode respectively. Input and output may be the name
of a file or an open file object. Only a readline() method is used
on the input file, only a write() method is used on the output file.
When using file names, the input and output file names may be the
same.
Interactive usage:
mimify.py -e [infile [outfile]]
mimify.py -d [infile [outfile]]
to encode and decode respectively. Infile defaults to standard
input and outfile to standard output.
| Modules | |||||||
| |||||||
| Classes | |||||||||||||||||||||||
| |||||||||||||||||||||||
| Constants | |||
CHARSET = 'ISO-8859-1' MAXLEN = 200 QUOTE = '> ' | |||