0% found this document useful (0 votes)
66 views14 pages

UE18EC351-CCN-Unit 1 - Class 6

The document discusses electronic email and its components. The three major components are user agents, mail servers, and protocols. User agents are email client programs that allow users to compose, read, and manage email. Mail servers host user mailboxes and queue messages for delivery. The two main protocols are SMTP for mail transfer between servers, and POP3/IMAP for communication between clients and user mailboxes. SMTP uses TCP to reliably transfer messages between mail server client and server processes. POP3 operates in download and delete or download and keep modes to manage messages in mailboxes. IMAP allows maintaining messages and folder hierarchies on mail servers.

Uploaded by

Vinod Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views14 pages

UE18EC351-CCN-Unit 1 - Class 6

The document discusses electronic email and its components. The three major components are user agents, mail servers, and protocols. User agents are email client programs that allow users to compose, read, and manage email. Mail servers host user mailboxes and queue messages for delivery. The two main protocols are SMTP for mail transfer between servers, and POP3/IMAP for communication between clients and user mailboxes. SMTP uses TCP to reliably transfer messages between mail server client and server processes. POP3 operates in download and delete or download and keep modes to manage messages in mailboxes. IMAP allows maintaining messages and folder hierarchies on mail servers.

Uploaded by

Vinod Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14

COMPUTER COMMUNICATION

NETWORKS

Shruthi SV
Department of Electronics and Communication
Engineering
COMPUTER COMMUNICATION NETWORKS

Electronic Email in Internet

Shruthi S V
Department of Electronics and Communication Engineering
COMPUTER COMMUNICATION NETWORKS
Electronic Email in Internet
Three major components:
❖ User agents
❖ Mail servers
❖ Protocols

User Agent:
❖ a.k.a. “mail reader”
❖ Used for composing, editing,
reading email messages
❖ User agent runs processes to
send/receive email messages
to/from mail servers
❖ E.g., Outlook, Thunderbird,
iPhone mail client
COMPUTER COMMUNICATION NETWORKS
Electronic Email in Internet

Mail servers:
❖ Hosts user accounts and their
❖ mailboxes
❖ A mailbox stores incoming
messages for a user
❖ Outgoing messages are
queued to be transferred to
the mail servers of the
receipients
COMPUTER COMMUNICATION NETWORKS
Electronic Email in Internet

Protocols:
▪ Two sets of protocols are
needed for electronic email
▪ Simple Mail Transfer Protocol
(SMTP) is used for the process
communication between mail
servers
▪ POP3, IMAP or HTTP is used
for process communication
between user agent and the
user’s mail server
▪ All the above protocols use
the client-server model
COMPUTER COMMUNICATION NETWORKS
Electronic Email in Internet

SMTP - Introduction
❖ Uses TCP for reliable transfer of email message across
mail servers
❖ Mail server sending outgoing messages runs the client
process and mail server receiving the incoming messages
runs the server process.
❖ The server process is identified by socket (aka port) 25
❖ Messages from client process are expressed in ASCII and
replies from server process carry status code and phrase
❖ Messages from client include commands and outgoing
email messages from the mail server
COMPUTER COMMUNICATION NETWORKS
Electronic Email in Internet

SMTP operations
• Example: Let Bob be the recipient of an email from Alice
• SMTP involves three steps
○ When Alice’s mail server detects an outgoing email
on her mailbox, the client process initiates a TCP
connection to the server process running on Bob’s
mail server on port 25
COMPUTER COMMUNICATION NETWORKS
Electronic Email in Internet

SMTP operations (contd.)


○ Upon establishing the connection, the client and the
server process on the respective mail servers
exchange SMTP messages carrying the following:
■ Authentication of mail servers
■ Authentication of user accounts
■ Delivery of email messages
○ At the end, the SMTP session is closed
COMPUTER COMMUNICATION NETWORKS
Electronic Email in Internet

SMTP message exchange


COMPUTER COMMUNICATION NETWORKS
Electronic Email in Internet

Post Office Protocol version 3 (POP3)


▪ Defined in RFC1939
▪ Maintains the state information over a session
▪ User agent (client process) connects to the user’s mail
server (server process) on TCP socket (port) 110
▪ Port 995 for secure connection
▪ Follows three phases:
▪ Authorization
▪ Transaction
▪ Update
▪ Operates in two modes:
▪ Download and delete mode
▪ Download and keep mode
COMPUTER COMMUNICATION NETWORKS
Electronic Email in Internet

POP3 (contd.)
▪ Download and delete mode
▪ Messages are retrieved into the client process
▪ The messages are deleted in the mail server
▪ Does not carry state information across POP3 sessions
▪ Download and keep mode
▪ Allows user to maintain messages on the mail server
▪ Does not carry state information across POP3 sessions
COMPUTER COMMUNICATION NETWORKS
Electronic Email in Internet

POP3 (contd.)
● Download and delete mode message exchange
COMPUTER COMMUNICATION NETWORKS
Electronic Email in Internet

Internet Mail Access Protocol (IMAP)


● Defined in RFC3501
● User agent (client process) connects to the user’s mail
server (server process) on TCP socket (port) 143
○ Port 993 for secure connection
● Allows user to create folders and designate them on mail
server
○ Maintains folder hierarchy
● Allows user to delete, move and search for messages
● Allows users to maintain state across sessions
● Allows users to retrieve parts of a MIME message
○ Useful for low bandwidth connections
THANK YOU

Shruthi SV
Department of Electronics and Communication
Engineering
shruthisviswanathan@pes.edu

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy