UITS

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

Replace 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.

This is document aclk in the Knowledge Base.
Last modified on 2008-11-01.

  • Fill out this form to submit your issue to the UITS Support Center.
  • Please note that you must be affiliated with Indiana University to receive support.
  • All fields are required.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.

  • Fill out this form to submit your comment to the IU Knowledge Base.
  • If you are affiliated with Indiana University and need help with a computing problem, please use the I need help with a computing problem section above, or contact your campus Support Center.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.