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/plainSky,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: base64R0lGODdhIANYAucAAAAAAAgAAAAACAAIAAAICAAQAAAQCAAYBAgACAgIAAgMBAgYBBAAABAM
ACAMAAAEEAAAGAAMGAAYFAgIEAgYGBQMECQIDAAALAAMLAAEPAAQOAgEKAQIPBgILAAcDAAg
IAgYIAAYKAwgCAwcHBwgDCAcHAAgKAgYKAAYNAAgMAggKAgYMBwYLAQoDAQoKBwoEBwoJAAg
NAwgMBwkMAgwECAwFAQsNCQoNBQ0DBQwNBhEHAAASAAAWAAQSAAIWAAcRAAgSAAYUAgISAgU
SAggQAgYTBwESBAUSCAUSAAIYAgAWAAYWAgUWAgEYAAAbAAQYAQUbBQAYBAAaBQEZBAQZCQE
Zw/zzAokuEDk/Su/Cud2OC85eMM8NPI5/qgDdJHP56WHe9QPfEzD/NDDNPCHjcP0663X682+--PART.BOUNDARY.0.28176.emout17.mail.aol.com.837050647--