Unit5 - Session12 - Email and FTP
Unit5 - Session12 - Email and FTP
Networks
Course Credit : 4
Theory : 9 Hours
When the sender and the receiver of an e-mail are on the same system,
we need only two user agents
Second scenario in electronic mail
When the sender and the receiver of an e-mail are on different systems, need two
UAs and a pair of MTAs (client and server).
Third scenario in electronic mail
When the sender is connected to the mail server via a LAN or a WAN, need two UAs and
two pairs of MTAs (client and server).
Fourth scenario in electronic mail
When both sender and receiver are connected to the mail server via a LAN or a WAN,
need two UAs, two pairs of MTAs (client and server), and a pair of MAAs
(client and server).
User Agent
• The first component of an electronic mail system is the user agent (UA).
reply to the sender of the message, or type the character R to reply to the
• Some examples of command driven user agents are mail, pine, and elm.
• They contain graphical user interface (GUI) components that allow the
user to interact with the software by using both the keyboard and the
mouse.
• They have graphical components such as icons, menu bars, and windows
⮚ The first component of an electronic mail system is the user agent . It provides
service to the user to make the process of sending and receiving a message
easier.
⮚The formal protocol that defines the MTA client and server in the Internet is called the
Simple Mail Transfer Protocol (SMTP).
SMTP range
Commands and Responses
⮚ SMTP uses commands and responses to transfer messages between an MTA
client and an MTA server
Command format
Commands
Responses
Example
$ telnet mail.adelphia.net 25
Trying 68.168.78.100 . . .
Connected to mail.adelphia.net (68.168.78.100).
Example (continued)
Multipurpose Internet Mail Extensions (MIME)
⮚ MIME is a supplementary protocol that allows non-ASCII data to be sent through e-mail.
⮚ MIME transforms non-ASCII data at the sender site to NVT ASCII data and delivers
them to the client MTA to be sent through the Internet. The message at the receiving
side is transformed back to the original data
⮚ Currently two message access protocols are available: Post Office Protocol, version 3
(POP3) and Internet Mail Access Protocol, version 4 (IMAP4)