ARCHIVED: In Unix, how can I decode a MIME encoded (Base64 or quoted-printable) email message with metamail?
If the email message is encoded using either the Base64 or
quoted-printable encoding scheme, you can save the message
to a file and use the following command:
metamail -w < efile
efile with the filename of the encoded message
you saved as a file. You will be prompted for a name to give each
part of the encoded message.
Note: Many mailers call metamail for you automatically (e.g., Elm), or have the native ability to handle MIME-encoded messages (e.g., MH and Pine).Note: Not all Unix system have metamail installed.
Last modified on November 01, 2008.