SlideShare a Scribd company logo
TCP/IP Protocol Suite 1
Chapter 20Chapter 20
Upon completion you will be able to:
Electronic Mail:Electronic Mail:
SMTP, POP, and IMAPSMTP, POP, and IMAP
• Understand four configurations of email architecture
• Understand the functions and formats of a user agent
• Understand MIME and its capabilities and data types
• Understand the functions and commands of an MTA
• Understand the function of POP3 and IMAP4
Objectives
TCP/IP Protocol Suite 2
20.1 ARCHITECTURE
To explain the architecture of email, we give four scenarios. We beginTo explain the architecture of email, we give four scenarios. We begin
with the simplest situation and add complexity as we proceed. The fourthwith the simplest situation and add complexity as we proceed. The fourth
scenario is the most common in the exchange of email.scenario is the most common in the exchange of email.
The topics discussed in this section include:The topics discussed in this section include:
First ScenarioFirst Scenario
Second ScenarioSecond Scenario
Third ScenarioThird Scenario
Fourth ScenarioFourth Scenario
TCP/IP Protocol Suite 3
Figure 20.1 First scenario
TCP/IP Protocol Suite 4
When the sender and the receiver of
an email are on the same system, we
need only two user agents.
Note:Note:
TCP/IP Protocol Suite 5
Figure 20.2 Second scenario
TCP/IP Protocol Suite 6
When the sender and the receiver of
an email are on different systems, we
need two UAs and a pair of MTAs
(client and server).
Note:Note:
TCP/IP Protocol Suite 7
Figure 20.3 Third scenario
TCP/IP Protocol Suite 8
When the sender is connected to the
mail server via a LAN or a WAN, we
need two UAs and two pairs of MTAs
(client and server).
Note:Note:
TCP/IP Protocol Suite 9
Figure 20.4 Fourth scenario
TCP/IP Protocol Suite 10
Figure 20.5 Push vs. pull
TCP/IP Protocol Suite 11
When both sender and receiver are
connected to the mail server via a LAN
or a WAN, we need two UAs, two pairs
of MTAs (client and server), and a
pair of MAAs (client and server). This
is the most common situation today.
Note:Note:
TCP/IP Protocol Suite 12
20.2 USER AGENT
The user agent (UA) provides service to the user to make the process ofThe user agent (UA) provides service to the user to make the process of
sending and receiving a message easier.sending and receiving a message easier.
The topics discussed in this section include:The topics discussed in this section include:
Services Provided by a User AgentServices Provided by a User Agent
User Agent TypesUser Agent Types
Sending MailSending Mail
Receiving MailReceiving Mail
AddressesAddresses
Mailing ListMailing List
MIMEMIME
TCP/IP Protocol Suite 13
Figure 20.6 User agent
TCP/IP Protocol Suite 14
Some examples of GUI-based user
agents are Eudora, Outlook, and
Netscape.
Note:Note:
TCP/IP Protocol Suite 15
Figure 20.7 Format of an email
TCP/IP Protocol Suite 16
Figure 20.8 Email address
TCP/IP Protocol Suite 17
20.3 MESSAGE TRANSFER AGENT:
SMTP
The actual mail transfer requires message transfer agents (MTAs). TheThe actual mail transfer requires message transfer agents (MTAs). The
protocol that defines the MTA client and server in the Internet is calledprotocol that defines the MTA client and server in the Internet is called
Simple Mail Transfer Protocol (SMTP).Simple Mail Transfer Protocol (SMTP).
The topics discussed in this section include:The topics discussed in this section include:
Commands and ResponsesCommands and Responses
Mail Transfer PhasesMail Transfer Phases
TCP/IP Protocol Suite 18
Figure 20.13 SMTP range
TCP/IP Protocol Suite 19
Figure 20.14 Commands and responses
TCP/IP Protocol Suite 20
Figure 20.15 Command format
TCP/IP Protocol Suite 21
Table 20.4Table 20.4 CommandsCommands
TCP/IP Protocol Suite 22
Table 20.5Table 20.5 ResponsesResponses
TCP/IP Protocol Suite 23
Table 20.5Table 20.5 Responses (Continued)Responses (Continued)
TCP/IP Protocol Suite 24
Figure 20.16 Connection establishment
TCP/IP Protocol Suite 25
Figure 20.17 Message transfer
TCP/IP Protocol Suite 26
Figure 20.18 Connection termination
TCP/IP Protocol Suite 27
20.4 MESSAGE ACCESS AGENT:
POP AND IMAP
The third stage of mail delivery uses a message access agent; the clientThe third stage of mail delivery uses a message access agent; the client
must pull messages from the server. Currently two message accessmust pull messages from the server. Currently two message access
protocols are available: Post Office Protocol, version 3 (POP3) andprotocols are available: Post Office Protocol, version 3 (POP3) and
Internet Mail Access Protocol, version 4.Internet Mail Access Protocol, version 4.
The topics discussed in this section include:The topics discussed in this section include:
POP3POP3
IMAP4IMAP4
TCP/IP Protocol Suite 28
Figure 20.19 POP3 and IMAP4
TCP/IP Protocol Suite 29
Figure 20.20 POP3
TCP/IP Protocol Suite 30
Figure 20.9 MIME
TCP/IP Protocol Suite 31
Figure 20.10 MIME header
TCP/IP Protocol Suite 32
Table 20.1Table 20.1 Data types and subtypes in MIMEData types and subtypes in MIME
TCP/IP Protocol Suite 33
Table 20.1Table 20.1 Data types and subtypes in MIME (Continued)Data types and subtypes in MIME (Continued)
TCP/IP Protocol Suite 34
Table 20.2Table 20.2 Content-transfer-encodingContent-transfer-encoding
TCP/IP Protocol Suite 35
Figure 20.11 Base64
TCP/IP Protocol Suite 36
Table 20.3Table 20.3 Base64 encoding tableBase64 encoding table
TCP/IP Protocol Suite 37
Figure 20.12 Quoted-printable
TCP/IP Protocol Suite 38
20.5 WEB-BASED MAIL
Some websites such as Hotmail and Yahoo provide email service toSome websites such as Hotmail and Yahoo provide email service to
anyone who accesses the site. Mail transfer and retrieval requires the useanyone who accesses the site. Mail transfer and retrieval requires the use
of HTTP.of HTTP.

More Related Content

What's hot

MQTT - MQ Telemetry Transport for Message Queueing
MQTT - MQ Telemetry Transport for Message QueueingMQTT - MQ Telemetry Transport for Message Queueing
MQTT - MQ Telemetry Transport for Message Queueing
Peter R. Egli
 
Computer Networks Module II
Computer Networks Module IIComputer Networks Module II
Computer Networks Module II
Ajit Nayak
 
Congestion control 1
Congestion control 1Congestion control 1
Congestion control 1
Aman Jaiswal
 
Ethernet
EthernetEthernet
Chapter 28
Chapter 28Chapter 28
Chapter 28
Faisal Mehmood
 
Stop-and-Wait ARQ Protocol
Stop-and-Wait ARQ ProtocolStop-and-Wait ARQ Protocol
Stop-and-Wait ARQ Protocol
praneetayargattikar
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer ProtocolRajan Pandey
 
Cisco Packet Tracer Overview
Cisco Packet Tracer OverviewCisco Packet Tracer Overview
Cisco Packet Tracer Overview
Ali Usman
 
Layered Architecture
Layered ArchitectureLayered Architecture
Layered Architecture
Dr Anjan Krishnamurthy
 
Mqtt presentation
Mqtt presentationMqtt presentation
Mqtt presentation
Shiang - Chi Lee
 
INTRODUCTION TO NETWORK LAYER
INTRODUCTION TO NETWORK LAYER INTRODUCTION TO NETWORK LAYER
INTRODUCTION TO NETWORK LAYER
Pramudya Maulana
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correctionSisir Ghosh
 
Opnet lab 4 solutions
Opnet lab 4 solutionsOpnet lab 4 solutions
Opnet lab 4 solutions
حيدر نافع nafaa
 
Media Access and Internetworking
Media Access and InternetworkingMedia Access and Internetworking
Media Access and Internetworking
N.Jagadish Kumar
 
HSRP ccna
HSRP ccna HSRP ccna
HSRP ccna
MohamedJafar5
 
Mikrotik RouterOs basics v0.3 español
Mikrotik RouterOs basics v0.3 españolMikrotik RouterOs basics v0.3 español
Mikrotik RouterOs basics v0.3 españolRod Hinojosa
 
The constrained application protocol (coap) part 2
The constrained application protocol (coap)  part 2The constrained application protocol (coap)  part 2
The constrained application protocol (coap) part 2
Hamdamboy (함담보이)
 
Chapter 26 - Remote Logging, Electronic Mail & File Transfer
Chapter 26 - Remote Logging, Electronic Mail & File TransferChapter 26 - Remote Logging, Electronic Mail & File Transfer
Chapter 26 - Remote Logging, Electronic Mail & File TransferWayne Jones Jnr
 
MODULE-5_CCN.pptx
MODULE-5_CCN.pptxMODULE-5_CCN.pptx
MODULE-5_CCN.pptx
Dr. Shivashankar
 

What's hot (20)

MQTT - MQ Telemetry Transport for Message Queueing
MQTT - MQ Telemetry Transport for Message QueueingMQTT - MQ Telemetry Transport for Message Queueing
MQTT - MQ Telemetry Transport for Message Queueing
 
Computer Networks Module II
Computer Networks Module IIComputer Networks Module II
Computer Networks Module II
 
Congestion control 1
Congestion control 1Congestion control 1
Congestion control 1
 
Ethernet
EthernetEthernet
Ethernet
 
Chapter 28
Chapter 28Chapter 28
Chapter 28
 
Stop-and-Wait ARQ Protocol
Stop-and-Wait ARQ ProtocolStop-and-Wait ARQ Protocol
Stop-and-Wait ARQ Protocol
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
 
csma ca
 csma ca csma ca
csma ca
 
Cisco Packet Tracer Overview
Cisco Packet Tracer OverviewCisco Packet Tracer Overview
Cisco Packet Tracer Overview
 
Layered Architecture
Layered ArchitectureLayered Architecture
Layered Architecture
 
Mqtt presentation
Mqtt presentationMqtt presentation
Mqtt presentation
 
INTRODUCTION TO NETWORK LAYER
INTRODUCTION TO NETWORK LAYER INTRODUCTION TO NETWORK LAYER
INTRODUCTION TO NETWORK LAYER
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correction
 
Opnet lab 4 solutions
Opnet lab 4 solutionsOpnet lab 4 solutions
Opnet lab 4 solutions
 
Media Access and Internetworking
Media Access and InternetworkingMedia Access and Internetworking
Media Access and Internetworking
 
HSRP ccna
HSRP ccna HSRP ccna
HSRP ccna
 
Mikrotik RouterOs basics v0.3 español
Mikrotik RouterOs basics v0.3 españolMikrotik RouterOs basics v0.3 español
Mikrotik RouterOs basics v0.3 español
 
The constrained application protocol (coap) part 2
The constrained application protocol (coap)  part 2The constrained application protocol (coap)  part 2
The constrained application protocol (coap) part 2
 
Chapter 26 - Remote Logging, Electronic Mail & File Transfer
Chapter 26 - Remote Logging, Electronic Mail & File TransferChapter 26 - Remote Logging, Electronic Mail & File Transfer
Chapter 26 - Remote Logging, Electronic Mail & File Transfer
 
MODULE-5_CCN.pptx
MODULE-5_CCN.pptxMODULE-5_CCN.pptx
MODULE-5_CCN.pptx
 

Similar to Electronic mail chap-20

Chapter 26
Chapter 26Chapter 26
Chapter 26
Faisal Mehmood
 
Chap 20 smtp, pop, imap
Chap 20 smtp, pop, imapChap 20 smtp, pop, imap
Chap 20 smtp, pop, imap
Noctorous Jamal
 
transfer protocols,ftp,smtp,pop,imap
transfer protocols,ftp,smtp,pop,imaptransfer protocols,ftp,smtp,pop,imap
transfer protocols,ftp,smtp,pop,imap
AKSHIT KOHLI
 
IGMP.ppt
IGMP.pptIGMP.ppt
Meeting 11. electronic mail: smtp
Meeting 11. electronic mail: smtpMeeting 11. electronic mail: smtp
Meeting 11. electronic mail: smtp
Syaiful Ahdan
 
Application layer
Application layerApplication layer
Application layer
AnithaRaj31
 
Chap 10 igmp
Chap 10 igmpChap 10 igmp
Chap 10 igmp
Noctorous Jamal
 
26 Remote Logging_Electronic_Mail_and_File_Transfer
26 Remote Logging_Electronic_Mail_and_File_Transfer26 Remote Logging_Electronic_Mail_and_File_Transfer
26 Remote Logging_Electronic_Mail_and_File_Transfer
Ahmar Hashmi
 
PowerPoint_merge.ppt
PowerPoint_merge.pptPowerPoint_merge.ppt
PowerPoint_merge.ppt
ssuser3b47e6
 
PowerPoint_merge (2).pdf
PowerPoint_merge (2).pdfPowerPoint_merge (2).pdf
PowerPoint_merge (2).pdf
ssuser3b47e6
 
HTTP and Email
HTTP and EmailHTTP and Email
HTTP and Email
Pankaj Debbarma
 
unit 3 ns.ppt
unit 3 ns.pptunit 3 ns.ppt
unit 3 ns.ppt
Kamesh486870
 
Chap-13.ppt
Chap-13.pptChap-13.ppt
Chap-13.ppt
SadhanaBijrothiya
 
TransportLayerServices.ppt
TransportLayerServices.pptTransportLayerServices.ppt
TransportLayerServices.ppt
SwatiRani13
 
Cisco discovery d homesb module 6 - v.4 in english.
Cisco discovery   d homesb module 6 - v.4 in english.Cisco discovery   d homesb module 6 - v.4 in english.
Cisco discovery d homesb module 6 - v.4 in english.igede tirtanata
 
Protocol Ppt[1]
Protocol Ppt[1]Protocol Ppt[1]
Protocol Ppt[1]anil933
 
CCNA 1 Routing and Switching v5.0 Chapter 10
CCNA 1 Routing and Switching v5.0 Chapter 10CCNA 1 Routing and Switching v5.0 Chapter 10
CCNA 1 Routing and Switching v5.0 Chapter 10
Nil Menon
 

Similar to Electronic mail chap-20 (20)

Chapter 26
Chapter 26Chapter 26
Chapter 26
 
Chap 20 smtp, pop, imap
Chap 20 smtp, pop, imapChap 20 smtp, pop, imap
Chap 20 smtp, pop, imap
 
transfer protocols,ftp,smtp,pop,imap
transfer protocols,ftp,smtp,pop,imaptransfer protocols,ftp,smtp,pop,imap
transfer protocols,ftp,smtp,pop,imap
 
IGMP.ppt
IGMP.pptIGMP.ppt
IGMP.ppt
 
Meeting 11. electronic mail: smtp
Meeting 11. electronic mail: smtpMeeting 11. electronic mail: smtp
Meeting 11. electronic mail: smtp
 
Application layer
Application layerApplication layer
Application layer
 
Chap 10 igmp
Chap 10 igmpChap 10 igmp
Chap 10 igmp
 
26 Remote Logging_Electronic_Mail_and_File_Transfer
26 Remote Logging_Electronic_Mail_and_File_Transfer26 Remote Logging_Electronic_Mail_and_File_Transfer
26 Remote Logging_Electronic_Mail_and_File_Transfer
 
PowerPoint_merge.ppt
PowerPoint_merge.pptPowerPoint_merge.ppt
PowerPoint_merge.ppt
 
PowerPoint_merge (2).pdf
PowerPoint_merge (2).pdfPowerPoint_merge (2).pdf
PowerPoint_merge (2).pdf
 
Icmp
IcmpIcmp
Icmp
 
Icmp
IcmpIcmp
Icmp
 
Chap 14
Chap 14Chap 14
Chap 14
 
HTTP and Email
HTTP and EmailHTTP and Email
HTTP and Email
 
unit 3 ns.ppt
unit 3 ns.pptunit 3 ns.ppt
unit 3 ns.ppt
 
Chap-13.ppt
Chap-13.pptChap-13.ppt
Chap-13.ppt
 
TransportLayerServices.ppt
TransportLayerServices.pptTransportLayerServices.ppt
TransportLayerServices.ppt
 
Cisco discovery d homesb module 6 - v.4 in english.
Cisco discovery   d homesb module 6 - v.4 in english.Cisco discovery   d homesb module 6 - v.4 in english.
Cisco discovery d homesb module 6 - v.4 in english.
 
Protocol Ppt[1]
Protocol Ppt[1]Protocol Ppt[1]
Protocol Ppt[1]
 
CCNA 1 Routing and Switching v5.0 Chapter 10
CCNA 1 Routing and Switching v5.0 Chapter 10CCNA 1 Routing and Switching v5.0 Chapter 10
CCNA 1 Routing and Switching v5.0 Chapter 10
 

Recently uploaded

block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 

Recently uploaded (20)

block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 

Electronic mail chap-20

  • 1. TCP/IP Protocol Suite 1 Chapter 20Chapter 20 Upon completion you will be able to: Electronic Mail:Electronic Mail: SMTP, POP, and IMAPSMTP, POP, and IMAP • Understand four configurations of email architecture • Understand the functions and formats of a user agent • Understand MIME and its capabilities and data types • Understand the functions and commands of an MTA • Understand the function of POP3 and IMAP4 Objectives
  • 2. TCP/IP Protocol Suite 2 20.1 ARCHITECTURE To explain the architecture of email, we give four scenarios. We beginTo explain the architecture of email, we give four scenarios. We begin with the simplest situation and add complexity as we proceed. The fourthwith the simplest situation and add complexity as we proceed. The fourth scenario is the most common in the exchange of email.scenario is the most common in the exchange of email. The topics discussed in this section include:The topics discussed in this section include: First ScenarioFirst Scenario Second ScenarioSecond Scenario Third ScenarioThird Scenario Fourth ScenarioFourth Scenario
  • 3. TCP/IP Protocol Suite 3 Figure 20.1 First scenario
  • 4. TCP/IP Protocol Suite 4 When the sender and the receiver of an email are on the same system, we need only two user agents. Note:Note:
  • 5. TCP/IP Protocol Suite 5 Figure 20.2 Second scenario
  • 6. TCP/IP Protocol Suite 6 When the sender and the receiver of an email are on different systems, we need two UAs and a pair of MTAs (client and server). Note:Note:
  • 7. TCP/IP Protocol Suite 7 Figure 20.3 Third scenario
  • 8. TCP/IP Protocol Suite 8 When the sender is connected to the mail server via a LAN or a WAN, we need two UAs and two pairs of MTAs (client and server). Note:Note:
  • 9. TCP/IP Protocol Suite 9 Figure 20.4 Fourth scenario
  • 10. TCP/IP Protocol Suite 10 Figure 20.5 Push vs. pull
  • 11. TCP/IP Protocol Suite 11 When both sender and receiver are connected to the mail server via a LAN or a WAN, we need two UAs, two pairs of MTAs (client and server), and a pair of MAAs (client and server). This is the most common situation today. Note:Note:
  • 12. TCP/IP Protocol Suite 12 20.2 USER AGENT The user agent (UA) provides service to the user to make the process ofThe user agent (UA) provides service to the user to make the process of sending and receiving a message easier.sending and receiving a message easier. The topics discussed in this section include:The topics discussed in this section include: Services Provided by a User AgentServices Provided by a User Agent User Agent TypesUser Agent Types Sending MailSending Mail Receiving MailReceiving Mail AddressesAddresses Mailing ListMailing List MIMEMIME
  • 13. TCP/IP Protocol Suite 13 Figure 20.6 User agent
  • 14. TCP/IP Protocol Suite 14 Some examples of GUI-based user agents are Eudora, Outlook, and Netscape. Note:Note:
  • 15. TCP/IP Protocol Suite 15 Figure 20.7 Format of an email
  • 16. TCP/IP Protocol Suite 16 Figure 20.8 Email address
  • 17. TCP/IP Protocol Suite 17 20.3 MESSAGE TRANSFER AGENT: SMTP The actual mail transfer requires message transfer agents (MTAs). TheThe actual mail transfer requires message transfer agents (MTAs). The protocol that defines the MTA client and server in the Internet is calledprotocol that defines the MTA client and server in the Internet is called Simple Mail Transfer Protocol (SMTP).Simple Mail Transfer Protocol (SMTP). The topics discussed in this section include:The topics discussed in this section include: Commands and ResponsesCommands and Responses Mail Transfer PhasesMail Transfer Phases
  • 18. TCP/IP Protocol Suite 18 Figure 20.13 SMTP range
  • 19. TCP/IP Protocol Suite 19 Figure 20.14 Commands and responses
  • 20. TCP/IP Protocol Suite 20 Figure 20.15 Command format
  • 21. TCP/IP Protocol Suite 21 Table 20.4Table 20.4 CommandsCommands
  • 22. TCP/IP Protocol Suite 22 Table 20.5Table 20.5 ResponsesResponses
  • 23. TCP/IP Protocol Suite 23 Table 20.5Table 20.5 Responses (Continued)Responses (Continued)
  • 24. TCP/IP Protocol Suite 24 Figure 20.16 Connection establishment
  • 25. TCP/IP Protocol Suite 25 Figure 20.17 Message transfer
  • 26. TCP/IP Protocol Suite 26 Figure 20.18 Connection termination
  • 27. TCP/IP Protocol Suite 27 20.4 MESSAGE ACCESS AGENT: POP AND IMAP The third stage of mail delivery uses a message access agent; the clientThe third stage of mail delivery uses a message access agent; the client must pull messages from the server. Currently two message accessmust pull messages from the server. Currently two message access protocols are available: Post Office Protocol, version 3 (POP3) andprotocols are available: Post Office Protocol, version 3 (POP3) and Internet Mail Access Protocol, version 4.Internet Mail Access Protocol, version 4. The topics discussed in this section include:The topics discussed in this section include: POP3POP3 IMAP4IMAP4
  • 28. TCP/IP Protocol Suite 28 Figure 20.19 POP3 and IMAP4
  • 29. TCP/IP Protocol Suite 29 Figure 20.20 POP3
  • 30. TCP/IP Protocol Suite 30 Figure 20.9 MIME
  • 31. TCP/IP Protocol Suite 31 Figure 20.10 MIME header
  • 32. TCP/IP Protocol Suite 32 Table 20.1Table 20.1 Data types and subtypes in MIMEData types and subtypes in MIME
  • 33. TCP/IP Protocol Suite 33 Table 20.1Table 20.1 Data types and subtypes in MIME (Continued)Data types and subtypes in MIME (Continued)
  • 34. TCP/IP Protocol Suite 34 Table 20.2Table 20.2 Content-transfer-encodingContent-transfer-encoding
  • 35. TCP/IP Protocol Suite 35 Figure 20.11 Base64
  • 36. TCP/IP Protocol Suite 36 Table 20.3Table 20.3 Base64 encoding tableBase64 encoding table
  • 37. TCP/IP Protocol Suite 37 Figure 20.12 Quoted-printable
  • 38. TCP/IP Protocol Suite 38 20.5 WEB-BASED MAIL Some websites such as Hotmail and Yahoo provide email service toSome websites such as Hotmail and Yahoo provide email service to anyone who accesses the site. Mail transfer and retrieval requires the useanyone who accesses the site. Mail transfer and retrieval requires the use of HTTP.of HTTP.