SlideShare una empresa de Scribd logo
1 de 11
Elaine Pullicino
B.Ed. With Computing
What is MIME?
MIME is an acronym for Multipurpose Internet Mail
Extension
It is used to describe message content types
MIME messages can contain
text,
images,
audio,
video, and
other application-specific data (e.g. PDF Files,
Microsoft Word Documents, and so on)
What is it used for?
It is used to make internet messages richer
It allows applications (and users) to exchange rich
content other than text
It is an extension to the original email specification
(RFC-822)
It is defined in RFCs RFC-2045 through RFC-2049
A Request for Comments (RFC) is a document
published by the Internet Engineering Task Force
(IETF) describing an internet standard
MIME Format
MIME types are defined using a <type>/<subtype>
[optional parameters] format
Some typical examples are
MIME Type Extension(s)
text/plain txt
application/vnd.ms-excel xls
application/pdf pdf
text/html htm;html
text/css css
How is it used?
MIME is passed as part
of the content type of the
message header
Content-type:
text/plain; charset=“us-
ascii”
The following example
is a typical HTTP
Response header (MIME
is highlighted)
HTTP/1.x 200 OK
Transfer-Encoding: chunked
Date: Sat, 28 Nov 2009 04:36:25 GMT
Server: LiteSpeed
Connection: close
X-Powered-By: W3 Total Cache/0.8
Pragma: public
Expires: Sat, 28 Nov 2009 05:36:25 GMT
Cache-Control: max-age=3600, public
Content-Type: text/html; charset=UTF-8
Last-Modified: Sat, 28 Nov 2009 03:50:37 GMT
Vary: Accept-Encoding, Cookie, User-Agent
Support for different languages
Message header
content-type field
put in the header by the client program
creating the e-mail for use by the client
program used to display the received message
charset= optional parameter
if absent ASCII is assumed
Content-Type: text/plain; charset="ISO-8859-1"
ISO-8859-1 character standard extends the basic character set of
ASCII to include many of the accented characters used in
languages such as German
EncodingBinary files need to be “packaged” as text in order to
be sent over the internet
MIME uses a BASE-64 binary encoding scheme to
package the data for transfer
As a result of this encoding, standard SMTP (Simple
Mail Transfer Protocol) servers did not require any
changes
Encoding transforms binary data into a string
Decoding changes the data back into its original form
Base 64 encoding Example
Normal Text: Lorem ipsum dolor sit amet, consectetur
adipiscing elit. Nulla mattis pulvinar ligula. Ut quis neque
ut lorem mollis hendrerit. Curabitur rhoncus, neque vitae
sodales condimentum.
Encoded Text:
TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY
3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gTnVsbGEgbWF0
dGlzIHB1bHZpbmFyIGxpZ3VsYS4gVXQgcXVpcyBuZXF1Z
SB1dCBsb3JlbSBtb2xsaXMgaGVuZHJlcml0LiBDdXJhYml0d
XIgcmhvbmN1cywgbmVxdWUgdml0YWUgc29kYWxlcyBj
b25kaW1lbnR1bS4=
An online tool one can use to experiment can be found at
http://www.motobit.com/util/base64-decoder-
encoder.asp
Sending large messages
When sending large messages, the message client
splits them into smaller parts
This type of message is called a multi-part message
Multi-part messages have one the following MIME
content types:
content-type = multipart/related
content-type = multipart/mixed
Further Reading
MIME Reference. In MIME Types. Retrieved from
http://www.w3schools.com/media/media_mimeref.asp
accessed, on 21 December 2010
Borenstein, N & Freed, N. (1996). Multipurpose
Internet Mail Extensions (MIME) Part One: Format of
Internet Message Bodies. Retrieved
fromhttp://tools.ietf.org/html/rfc2045, on 21st
December 2010.
Further Reading
Kozierok, C. M. (2005). TCP/IP Enhanced Electronic
Mail Message Format: Multipurpose Internet Mail
Extensions (MIME). In The TCP/IP Guide. Retrieved
from
http://www.tcpipguide.com/free/t_MIMEContentTyp
eHeaderandDiscreteMediaTypesSubtypes.htm, on 21st
December 2010.
Josefsson, S. (2006). The Base16, Base32, and Base 62
Data Encodings.http://tools.ietf.org/html/rfc4648
accessed on 21st
December 2010.

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Addressing in networking (IP,MAC,Port addressing)
Addressing in networking (IP,MAC,Port addressing)Addressing in networking (IP,MAC,Port addressing)
Addressing in networking (IP,MAC,Port addressing)
 
Application Layer
Application Layer Application Layer
Application Layer
 
Pgp pretty good privacy
Pgp pretty good privacyPgp pretty good privacy
Pgp pretty good privacy
 
Introduction to php
Introduction to phpIntroduction to php
Introduction to php
 
uniform resource locator
uniform resource locatoruniform resource locator
uniform resource locator
 
Web services
Web servicesWeb services
Web services
 
TCP/IP Network ppt
TCP/IP Network pptTCP/IP Network ppt
TCP/IP Network ppt
 
Substitution techniques
Substitution techniquesSubstitution techniques
Substitution techniques
 
TCP/IP Protocols With All Layer Description
TCP/IP Protocols With All Layer DescriptionTCP/IP Protocols With All Layer Description
TCP/IP Protocols With All Layer Description
 
Https presentation
Https presentationHttps presentation
Https presentation
 
Telnet
TelnetTelnet
Telnet
 
Domain name system presentation
Domain name system presentationDomain name system presentation
Domain name system presentation
 
Client-Server Computing
Client-Server ComputingClient-Server Computing
Client-Server Computing
 
TCP/ IP
TCP/ IP TCP/ IP
TCP/ IP
 
Transport layer
Transport layer Transport layer
Transport layer
 
Classical encryption techniques
Classical encryption techniquesClassical encryption techniques
Classical encryption techniques
 
Multiplexing
MultiplexingMultiplexing
Multiplexing
 
File transfer protocol
File transfer protocolFile transfer protocol
File transfer protocol
 
Public key algorithm
Public key algorithmPublic key algorithm
Public key algorithm
 
IP Address
IP AddressIP Address
IP Address
 

Similar a Mime

The Fundamental of Electronic Mail (E-mail)
The Fundamental of Electronic Mail (E-mail)The Fundamental of Electronic Mail (E-mail)
The Fundamental of Electronic Mail (E-mail)Vishal Kumar
 
六合彩
六合彩六合彩
六合彩adxegd
 
六合彩|香港六合彩 » SlideShare
六合彩|香港六合彩 » SlideShare六合彩|香港六合彩 » SlideShare
六合彩|香港六合彩 » SlideSharexmatnmqu
 
香港六合彩-六合彩 » SlideShare
香港六合彩-六合彩 » SlideShare香港六合彩-六合彩 » SlideShare
香港六合彩-六合彩 » SlideSharecckiawfm
 
六合彩|香港六合彩
六合彩|香港六合彩六合彩|香港六合彩
六合彩|香港六合彩wnevsi
 
香港六合彩 » SlideShare
香港六合彩 » SlideShare香港六合彩 » SlideShare
香港六合彩 » SlideSharelfftxajv
 
香港六合彩 » SlideShare
香港六合彩 » SlideShare香港六合彩 » SlideShare
香港六合彩 » SlideSharerylpwodc
 
jsoifoaij
jsoifoaijjsoifoaij
jsoifoaijyanwo
 
香港六合彩 » SlideShare
香港六合彩 » SlideShare香港六合彩 » SlideShare
香港六合彩 » SlideSharebburikht
 
香港六合彩>六合彩
香港六合彩>六合彩香港六合彩>六合彩
香港六合彩>六合彩ikkeqhp
 
香港六合彩 » SlideShare
香港六合彩 » SlideShare香港六合彩 » SlideShare
香港六合彩 » SlideSharekftmoerk
 
香港六合彩 » SlideShare
香港六合彩 » SlideShare香港六合彩 » SlideShare
香港六合彩 » SlideShareesbulah
 
sgiayw
sgiaywsgiayw
sgiaywyanwo
 
香港六合彩
香港六合彩香港六合彩
香港六合彩twieat
 
香港六合彩 » SlideShare
香港六合彩 » SlideShare香港六合彩 » SlideShare
香港六合彩 » SlideSharewvjbxlqh
 
Hiding Malicious Content in PDF Documents
Hiding Malicious Content in PDF DocumentsHiding Malicious Content in PDF Documents
Hiding Malicious Content in PDF Documentsdeathwing
 

Similar a Mime (20)

mime-.pdf
mime-.pdfmime-.pdf
mime-.pdf
 
Cn u5
Cn u5Cn u5
Cn u5
 
crypto ppt.pptx
crypto ppt.pptxcrypto ppt.pptx
crypto ppt.pptx
 
The Fundamental of Electronic Mail (E-mail)
The Fundamental of Electronic Mail (E-mail)The Fundamental of Electronic Mail (E-mail)
The Fundamental of Electronic Mail (E-mail)
 
六合彩
六合彩六合彩
六合彩
 
六合彩|香港六合彩 » SlideShare
六合彩|香港六合彩 » SlideShare六合彩|香港六合彩 » SlideShare
六合彩|香港六合彩 » SlideShare
 
香港六合彩-六合彩 » SlideShare
香港六合彩-六合彩 » SlideShare香港六合彩-六合彩 » SlideShare
香港六合彩-六合彩 » SlideShare
 
umveyhl
umveyhlumveyhl
umveyhl
 
六合彩|香港六合彩
六合彩|香港六合彩六合彩|香港六合彩
六合彩|香港六合彩
 
香港六合彩 » SlideShare
香港六合彩 » SlideShare香港六合彩 » SlideShare
香港六合彩 » SlideShare
 
香港六合彩 » SlideShare
香港六合彩 » SlideShare香港六合彩 » SlideShare
香港六合彩 » SlideShare
 
jsoifoaij
jsoifoaijjsoifoaij
jsoifoaij
 
香港六合彩 » SlideShare
香港六合彩 » SlideShare香港六合彩 » SlideShare
香港六合彩 » SlideShare
 
香港六合彩>六合彩
香港六合彩>六合彩香港六合彩>六合彩
香港六合彩>六合彩
 
香港六合彩 » SlideShare
香港六合彩 » SlideShare香港六合彩 » SlideShare
香港六合彩 » SlideShare
 
香港六合彩 » SlideShare
香港六合彩 » SlideShare香港六合彩 » SlideShare
香港六合彩 » SlideShare
 
sgiayw
sgiaywsgiayw
sgiayw
 
香港六合彩
香港六合彩香港六合彩
香港六合彩
 
香港六合彩 » SlideShare
香港六合彩 » SlideShare香港六合彩 » SlideShare
香港六合彩 » SlideShare
 
Hiding Malicious Content in PDF Documents
Hiding Malicious Content in PDF DocumentsHiding Malicious Content in PDF Documents
Hiding Malicious Content in PDF Documents
 

Último

HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 

Último (20)

HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 

Mime

  • 2. What is MIME? MIME is an acronym for Multipurpose Internet Mail Extension It is used to describe message content types MIME messages can contain text, images, audio, video, and other application-specific data (e.g. PDF Files, Microsoft Word Documents, and so on)
  • 3. What is it used for? It is used to make internet messages richer It allows applications (and users) to exchange rich content other than text It is an extension to the original email specification (RFC-822) It is defined in RFCs RFC-2045 through RFC-2049 A Request for Comments (RFC) is a document published by the Internet Engineering Task Force (IETF) describing an internet standard
  • 4. MIME Format MIME types are defined using a <type>/<subtype> [optional parameters] format Some typical examples are MIME Type Extension(s) text/plain txt application/vnd.ms-excel xls application/pdf pdf text/html htm;html text/css css
  • 5. How is it used? MIME is passed as part of the content type of the message header Content-type: text/plain; charset=“us- ascii” The following example is a typical HTTP Response header (MIME is highlighted) HTTP/1.x 200 OK Transfer-Encoding: chunked Date: Sat, 28 Nov 2009 04:36:25 GMT Server: LiteSpeed Connection: close X-Powered-By: W3 Total Cache/0.8 Pragma: public Expires: Sat, 28 Nov 2009 05:36:25 GMT Cache-Control: max-age=3600, public Content-Type: text/html; charset=UTF-8 Last-Modified: Sat, 28 Nov 2009 03:50:37 GMT Vary: Accept-Encoding, Cookie, User-Agent
  • 6. Support for different languages Message header content-type field put in the header by the client program creating the e-mail for use by the client program used to display the received message charset= optional parameter if absent ASCII is assumed Content-Type: text/plain; charset="ISO-8859-1" ISO-8859-1 character standard extends the basic character set of ASCII to include many of the accented characters used in languages such as German
  • 7. EncodingBinary files need to be “packaged” as text in order to be sent over the internet MIME uses a BASE-64 binary encoding scheme to package the data for transfer As a result of this encoding, standard SMTP (Simple Mail Transfer Protocol) servers did not require any changes Encoding transforms binary data into a string Decoding changes the data back into its original form
  • 8. Base 64 encoding Example Normal Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla mattis pulvinar ligula. Ut quis neque ut lorem mollis hendrerit. Curabitur rhoncus, neque vitae sodales condimentum. Encoded Text: TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY 3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gTnVsbGEgbWF0 dGlzIHB1bHZpbmFyIGxpZ3VsYS4gVXQgcXVpcyBuZXF1Z SB1dCBsb3JlbSBtb2xsaXMgaGVuZHJlcml0LiBDdXJhYml0d XIgcmhvbmN1cywgbmVxdWUgdml0YWUgc29kYWxlcyBj b25kaW1lbnR1bS4= An online tool one can use to experiment can be found at http://www.motobit.com/util/base64-decoder- encoder.asp
  • 9. Sending large messages When sending large messages, the message client splits them into smaller parts This type of message is called a multi-part message Multi-part messages have one the following MIME content types: content-type = multipart/related content-type = multipart/mixed
  • 10. Further Reading MIME Reference. In MIME Types. Retrieved from http://www.w3schools.com/media/media_mimeref.asp accessed, on 21 December 2010 Borenstein, N & Freed, N. (1996). Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies. Retrieved fromhttp://tools.ietf.org/html/rfc2045, on 21st December 2010.
  • 11. Further Reading Kozierok, C. M. (2005). TCP/IP Enhanced Electronic Mail Message Format: Multipurpose Internet Mail Extensions (MIME). In The TCP/IP Guide. Retrieved from http://www.tcpipguide.com/free/t_MIMEContentTyp eHeaderandDiscreteMediaTypesSubtypes.htm, on 21st December 2010. Josefsson, S. (2006). The Base16, Base32, and Base 62 Data Encodings.http://tools.ietf.org/html/rfc4648 accessed on 21st December 2010.