]> git.phdru.name Git - mimedecode.git/blob - ANNOUNCE
Add requirements.txt to sdist; add [egg_info] to setup.cfg
[mimedecode.git] / ANNOUNCE
1
2                                 mimedecode.py
3
4 WHAT IS IT
5
6    Mail users, especially in non-English countries, often find that mail
7 messages arrived in different formats, with different content types, in
8 different encodings and charsets. Usually this is good because it allows us to
9 use appropriate format/encoding/whatever. Sometimes, though, some unification
10 is desirable. For example, one may want to put mail messages into an archive,
11 make HTML indices, run search indexer, etc. In such situations converting
12 messages to text in one character set and skipping some binary attachments is
13 much desirable.
14
15    Here is the solution - mimedecode.py.
16
17    This is a program to decode MIME messages. The program expects one input
18 file (either on command line or on stdin) which is treated as an RFC822
19 message, and decodes to stdout or an output file. If the file is not an RFC822
20 message it is just copied to the output one-to-one. If the file is a simple
21 RFC822 message it is decoded as one part. If it is a MIME message with multiple
22 parts ("attachments") all parts are decoded. Decoding can be controlled by
23 command-line options.
24
25
26 Version 2.6.0 (2014-06-08)
27
28    Make options -e/-i to work with multipart subparts.
29
30    Add option -I to completely ignore a part - no headers, no body,
31    no warning.
32
33    Open all output files in binary mode. Output os.linesep instead of '\n'.
34
35    Test --save-headers|body|message masks one after another to allow
36    saving a message or a subpart to more than one file.
37
38 WHAT'S NEW in version 2.5.0 (2014-03-18)
39
40    Add option --set-header=header:value to set header's value (only at the top
41 level).
42
43    Add option --set-param=header:param=value to set header parameter's value
44 (only at the top level). The header must exist.
45
46    Add option -B to skip content-transfer-decoding binary attachments.
47
48    Add options --save-headers, --save-body and --save-message to save decoded
49 headers/bodies/messages to files.
50
51    Add option -O to set the destination directory for output files.
52
53    Fix a minor bug: if a multipart message (or a subpart) lacks any textual
54 content - avoid putting an excessive newline.
55
56
57 WHERE TO GET
58    Home page: http://phdru.name/Software/Python/#mimedecode
59     git clone http://git.phdru.name/mimedecode.git
60     git clone  git://git.phdru.name/mimedecode.git
61
62    Requires: Python 2.2.2+, m_lib 2.0+.
63
64    Recommends: configured mailcap database.
65
66    Documentation: http://phdru.name/Software/Python/mimedecode.html
67       (also included in the package in html, man and txt formats).
68
69 AUTHOR
70    Oleg Broytman <phd@phdru.name>
71
72 COPYRIGHT
73    Copyright (C) 2001-2014 PhiloSoft Design.
74
75 LICENSE
76    GPL