What is MIME in the Computer Network?

Computer NetworkInternetMCA

MIME represents Multi-Purpose Internet Mail Extensions. It is a development to the Internet email protocol that enables its users to exchange several kinds of data files over the Internet, including images, audio, and video.

The MIME is required if the text in character sets other than the American Standard Code for Information Interchange (ASCII). Virtually, all human-written Internet email and a fairly large proportion of automated email is transmitted via Simple Mail Transfer Protocol (SMTP) in MIME format.

MIME was designed mainly for SMTP, but the content types defined by MIME standards are important also in communication protocols outside of email, such as Hypertext Transfer Protocol (HTTP).

MIME Header

There are five header fields represented in MIME which are as follows −

  • MIME-version − It denotes the MIME version being used. The current version is 1.1. It is defined as MIME-version: 1.1.

  • Content-type − It defines the type and subtype of the data in the body of the message. The content type and content subtype are divided by a slash. This field defines how the object in the body is to be executed. The default value is plaintext in US ASCII.

The content-type field is represented as follows −

Context-type: <type/subtype; parameters>
  • Content-transfer encoding − It defines how the object inside the body has been encoded to US ASCII to create it acceptable for mail transfer. Thus, it determines the method used to encode the message into 0s and 1s for transport.

The content transfer encoding field is represented as follows −

Content-transfer-encoding : <type>
  • Content-Description − This field tells what the message is. It is the form of ASCII recipient will know whether it is worth decoding and reading the message.

  • Content-ID − This field identifies the contents. Its format is the same as the format of the standard Message-Id header.

raja
Published on 04-May-2021 11:40:56
Advertisements