Skip to content Accesskey=4Skip to sub-navigation Accesskey=3View our Accessibility Options MIT Information Systems Home About IS&T Contact IS&T Site Map Search Advanced Search
Getting StartedGetting Services by Topic or Alphabetically Getting Help

On This Page

[Help]

  

Quick Links

Top Level

Related Links

Ask OLC a question

Athena Consulting Homepage

Helpdesk Stock Answers (for Mac/PC questions)


How to View MIME Messages

As of the 8.3 release, standard mh commands such as "show" will
automatically try to read MIME, and display the attached file as best
it can.  

To decrypt and save a mime-attached document, you can run

        mhstore ##

which will save the output as files and tell you where it has put each
part.  

----------------------------------------------------------------------
	      
On machines running 8.2 and earlier versions, users will have to use
utilities in the mime locker in order to view mime-attached files. 

To _decode_ a MIME encoded message, you can do:

        add mime
        show ## | metamail -w

where ## is the message number, or you can leave out the number if it is
the current message you are reading.

        add mime
        show ## | mimencode -u

will also decode any MIME encoded files.

base64 is the default encoding scheme for both programs, but a different
format can be used to encode/decode the files.

NOTE: Make sure the whole encoded message is in that file.  If the encoded
file has been split across several files, you will have to delete any
preceding text before the encoded portion of the mail message and any text
after the encoded portion of the mail message for the 2nd, 3rd, 4th, etc
mail message you get and concatenate the files into one big file.

If the first in the sequence is copied to another filename and then the 2nd
is inserted at the end of the 1st using an editor like emacs, then the
header and any extraneous non-encoded info at the end are deleted and this
is repeated for the remaining files, then none of the original mail
messages will be effected and the total concatenation of all the files can
be decoded with

	add mime
	metamail bigfilename

where bigfilename is the name of the big file you created.

Last updated: 10/25/99

MIT Home | Getting Started | Getting Services | Getting Help | About IS&T | Accessibility
Ask a technology question or send a comment about this web page.