Technical article 105173

What is MIME?

OpenServer 5.0.0OpenServer 5.0.2

Written · Last revised

Problem

I don't know what MIME is, what uses MIME, or how to manipulate
it.  Also, what does MIME stand for?

Solution

MIME stands for "Multipurpose Internet Mail Extension".

It is a scheme which allows mail user agents (MUA) and WWW browsers to encode and handle data that is not straight ASCII text, using a new series of mail headers and a new data encoding scheme.

For outgoing mail, MIME encodes data for transmission that you otherwise would have trouble getting through a mail transport agent (MTA), such as program binaries, pictures, video clips, and so on. For incoming mail, it provides a means of separating message bodies from attachments.

The scheme MIME uses for encoding attachments is called "base64". base64 encoding does the same sort of thing that uuencode/decode does. It converts files that have non-printable characters and no line delimeters into delimited ASCII text lines.

OpenServer systems have incorporated MIME technology in certain X clients, including scomail and Mosaic. Third party WWW browsers, such as Netscape's Navigator, and MUAs such as Eudora, also use MIME technology.

Using a MUA, like SCOmail, you can read mail with MIME attachments and send mail that has MIME attachments. Saving the attachments to a file separates them from the body of the mail from which they originated and allows you to manipulate the contents at a later time.

A sample MIME mail message follows:

ndetroit@aol.com said something close to this: From emout17.mx.aol.com!aol.com!ndetroit Wed Jul 10 19:05:18 1996 Date: Wed, 10 Jul 1996 22:04:47 -0400 From: ndetroit@aol.com Message-ID: <960710220407_431651304@emout17.mail.aol.com> To: smasterson@sco.com Subject: I got a doll to dress MIME-Version: 1.0 Content-type: multipart/mixed; boundary="PART.BOUNDARY.0.28176.emout17.mail.aol.com.837050647"

--PART.BOUNDARY.0.28176.emout17.mail.aol.com.837050647
Content-ID: <0_28176_837050647@emout17.mail.aol.com.21181>
Content-type: text/plain
Sky,

I'm looking for a certain type of outfit to put on a doll. The gif attached will give you an idea what I'm looking for.

Nathan
--PART.BOUNDARY.0.28176.emout17.mail.aol.com.837050647
Content-ID: <0_28176_837050647@emout17.mail.aol.com.21182>
Content-type: image/gif;
        name="ASTRO.GIF"
Content-Transfer-Encoding: base64
R0lGODdhIANYAucAAAAAAAgAAAAACAAIAAAICAAQAAAQCAAYBAgACAgIAAgMBAgYBBAAABAM
ACAMAAAEEAAAGAAMGAAYFAgIEAgYGBQMECQIDAAALAAMLAAEPAAQOAgEKAQIPBgILAAcDAAg
IAgYIAAYKAwgCAwcHBwgDCAcHAAgKAgYKAAYNAAgMAggKAgYMBwYLAQoDAQoKBwoEBwoJAAg
NAwgMBwkMAgwECAwFAQsNCQoNBQ0DBQwNBhEHAAASAAAWAAQSAAIWAAcRAAgSAAYUAgISAgU
SAggQAgYTBwESBAUSCAUSAAIYAgAWAAYWAgUWAgEYAAAbAAQYAQUbBQAYBAAaBQEZBAQZCQE
Zw/zzAokuEDk/Su/Cud2OC85eMM8NPI5/qgDdJHP56WHe9QPfEzD/NDDNPCHjcP0663X682+
--PART.BOUNDARY.0.28176.emout17.mail.aol.com.837050647--

From the Xinuos technical article database, record 105173. Reproduced with permission. The original is at www.sco.com/ta/105173, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.