0% found this document useful (0 votes)
243 views16 pages

Mime Final

MIME (Multipurpose Internet Mail Extensions) is an open standard that extends email to allow for non-text content like images, audio, and video. It defines new headers and encoding schemes to embed and transmit non-ASCII and binary files within email messages. MIME packages different data types into a 7-bit ASCII format so that email, regardless of content, appears the same to SMTP servers. It uses the BASE64 encoding scheme and new headers to describe attached documents so user agents know how to interpret messages with different content types and encodings.

Uploaded by

Surekha Sundarr
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
243 views16 pages

Mime Final

MIME (Multipurpose Internet Mail Extensions) is an open standard that extends email to allow for non-text content like images, audio, and video. It defines new headers and encoding schemes to embed and transmit non-ASCII and binary files within email messages. MIME packages different data types into a 7-bit ASCII format so that email, regardless of content, appears the same to SMTP servers. It uses the BASE64 encoding scheme and new headers to describe attached documents so user agents know how to interpret messages with different content types and encodings.

Uploaded by

Surekha Sundarr
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 16

Multi-purpose Internet Mail Extension (MIME)

MIME:

Definition of MIME
MIME, stand for Multi-purpose Internet mail
Extensions, is a freely available specification that offers a way to interchange text in languages with different character sets, and multimedia e-mail among many different computer system that use Internet mail standards.

MIME:

Introduction
MIME extends the format of Internet mail to allow nonUS-ASCII textual messages, non-textual messages, multipart message bodies, and non-US-ASCII information in message headers. MIME provides Internet mail users with functionality similar to that of MS-Mail for LAN-based internal mail. MS-Mail and MIME allow the attachment of files and other objects, as does MIME. Unfortunately, Microsofts method of handling these attachments is undertaken through a proprietary format and MS-Mail does not provide compliance with the MIME open standard.

MIME:

Cont
Internet messages with MIME attachments send to MSMail will transfer the appropriate text portions of the message, but MS-Mail will generally forward the attachments as encoded text, which may then be saved to a file and decoded. Conversely, messages sent from MS-Mail with attachments to an Internet MIME mail system will transfer the text portions and send the attachments as encoding text, but use a different method of encoding from the used by MIME and without the information needed for processing the message attachment by the recipient. Email messages arriving at the National Library with MIME attachments are likely to be corrupted.

MIME:

What exactly is MIME?

In 1992, a new standard was defined by an Internet engineering task force working group in RFC1521 & 1522 called MIME. MIME is an extension to the Internet mail standard, known as Simple Mail Transfer Protocol (SMTP) that allows mail messages containing different type of multimedia information to be sent across the network this includes, but is not limited to, word-processor documents, spreadsheets, programs, graphics, audio, and motion picture files, as well as links that enable users to retrieve information from remote databases from within a mail message.

MIME:

Cont

MIME is a specification for enhancing the capabilities of standard Internet e-mail. It offers a simple standardized way to represent and encode a wide variety of media types of transmission via Internet mail. It is defines extensions to SMTP to support binary attachments of arbitrary format. The designers of MIME have learned a lot from the old SMTP protocol and its mailers. MIME is here to stay and it works.

MIME:

Cont
When using the MIME standard, messages can contain the following types: Text message in US-ASCII Character set other than US-ASCII Multiple objects in a single messages Multimedia; Image, Audio, and Video messages Multi-front messages Messages of unlimited length Binary files

MIME:

Cont
MIME is defined to be completely backwards compatible, yet flexible and open to extensions. Therefore, it builds on the older standard by defining additional fields for the mail message header, that describes new content types, and a distinct organization of the message body.

MIME:

How MIME works?

The developers of MIME found a clever way to work around the limitation. It packages different data types into a 7-bit ASCII format. that way, all e-mail, regardless of the data it contains, appears as standard e-mail messages to the internets SMTP servers. The beauty of the solution lies in the fact that SMTP didnt have to change to handle such data.

MIME:

Cont

Uses a new binary encoding scheme called BASE 64 New SMTP headers describe the attached document User agents read the header to figure out how to interpret the message

MIME: MIME Specific technical definition

New MIME headers The Content-type headers The Application-type headers The Content-transfer-Encoding The Content-ID &Content Description Multipart Message Non-ASCII text in mail messages

MIME:

New MIME headers


Required fields

Optional fields

MIME - Version Date - Time

Content- type Content-transfer_encoding Content-ID Content-description Content-disposition

MIME:

The Content-type Header

Content-type sub-type describes what format this part of the message is in Text Image Message Audio Application Video Multipart

The default type is simple ASCII text MIME-Version : 1.0 Content-type:text/plain;charset=US-ascii

MIME:

The Content-type Applications

Subtypes:
Postscript Octet-Stream-Unidentified binary data Many other will be added

MIME: The Content-transfer-Encoding

Base64 encoding algorithm is used to encode binary data in 7bit ASCII data Quoted-printable is for text-only messages A few others 7bit No encoding Case insensitive 8bit No encoding Binary No encoding X-token No encoding Example

MIME:

Summary

MIME has been designed to avoid problems caused by additional restrictions imposed by some Internet mail transport mechanisms. The Multipart and Message content types allow mixing and hierarchical structuring of objects of different types in a single message. Further content types provide a mechanism for tagging messages or body parts as audio, image, or other kinds of data. Finally, a number of useful content types are defined for general use by consenting user agents, notably Text/Richtext, Message/Partial, and Message/External-Body.

You might also like