General-Purpose Mail Package
|Official GNU Software|
The principal use envisioned for this program is to decode messages in batch, after they are received.
Unfortunately, some mailers prefer to encode messages in their
entirety in base64 (or quoted-printable), even when the content is
entirely human-readable text. This makes straightforward use of
grep or other standard commands impossible. The idea is for
decodemail to rectify that, by making the message text
Besides personal mail, mailing list archives are another place where such decoding can be useful, as they are often searched with standard tools.
It is generally not recommended to run
decodemail within a
mail reader (which should be able to do the decoding itself), or
directly in a terminal (since quite possibly there will be 8-bit
output not in the current character set).
Although the output message from
decodemail should be
entirely equivalent to the input message, apart from the decoding, it
is generally not identical. Because
decodemail parses the
input message and reconstructs it for output, there are usually small
decodemaillooks at the actual content of the text and outputs ‘Content-Transfer-Encoding:’ accordingly.
If a discrepancy is created which actually affects message parsing or reading, that’s most likely a bug, and please report it. Naturally, please send an exact input message to reproduce the problem.
This document was generated on August 5, 2021 using makeinfo.Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.