<listitem>
<para>
Add the header to a list of headers to decode; initially the list
- contains headers "From", "To", "Cc" and "Subject".
+ contains headers "From", "To", "Cc", "Reply-To" and "Subject".
</para>
</listitem>
</varlistentry>
The program may produce incorrect MIME message. The purpose of the program
is to decode whatever it is possible to decode, not to produce absolutely
correct MIME output. The incorrect parts are obvious - decoded
- From/To/Cc/Subject headers and filenames. Other than that output is correct
- MIME message. The program does not try to guess whether the headers are
- correct. For example, if a message header states that charset is iso8859-5,
- but the body is actually in utf-8 the program will recode the message with
- the wrong charset.
+ From/To/Cc/Reply-To/Subject headers and filenames. Other than that output is
+ correct MIME message. The program does not try to guess whether the headers
+ are correct. For example, if a message header states that charset is
+ iso8859-5, but the body is actually in utf-8 the program will recode the
+ message with the wrong charset.
</para>
</refsect1>
host_name = None
- decode_headers = ["From", "To", "Cc", "Subject"] # A list of headers to decode
+ # A list of headers to decode
+ decode_headers = ["From", "To", "Cc", "Reply-To", "Subject"]
+
+ # A list of headers' parameters to decode
decode_header_params = [
("Content-Type", "name"),
("Content-Disposition", "filename"),
- ] # A list of headers' parameters to decode
+ ]
totext_mask = [] # A list of content-types to decode
binary_mask = [] # A list to pass through