Application Layer Protocols
Application Layer Protocols
3.Connection Termination
Simple Mail Transfer Protocol (SMTP)
• Communication between sender and the receiver
The senders, user agent prepare the message and send it to the MTA. The MTA
functioning is to transfer the mail across the network to the receivers MTA. To
send mail, a system must have the client MTA, and to receive mail, a system
must have a server MTA.
Simple Mail Transfer Protocol (SMTP)
Sending Email
•Mail is sent by a series of request and response messages between the client and
a server.
•The message which is sent across consists of a header and the body.
•A null line is used to terminate the mail header.
•Everything which is after the null line is considered as the body of the message
which is a sequence of ASCII characters.
•The message body contains the actual information read by the receipt.
Simple Mail Transfer Protocol (SMTP)
Receiving Email
•The user agent at the server-side checks the mailboxes at a particular time of
intervals.
•If any information is received it informs the user about the mail.
•When the user tries to read the mail it displays a list of mails with a short
description of each mail in the mailbox.
• By selecting any of the mail user can view its contents on the terminal.
Telnet
• TELNET stands for TErminaL NETwork/Telecommunication.
• It is a type of protocol that enables one computer to connect to local computer.
• It is a used as a standard TCP/IP Protocol for virtual terminal service which is given
by ISO.
• Computer which starts connection known as the local computer. Computer which is
being connected to i.e. which accepts the connection known as remote computer.
• When the connection is established between local and remote computer. During
telnet operation whatever that is performing on the remote computer will be
displayed by local computer.
• Telnet operates on client/server principle. Local computer uses telnet client program
and the remote computers uses telnet server program.
Modes of Operation
• Default Mode
• If there is no other modes are invoked then this mode is used.
• Echoing is performed in this mode by client.
• In this mode, user types a character and client enchoes the character on the
screen but it does not send it until whole line is completed.
• Character Mode
• Each character typed in this mode is sent by client to server.
• Server in this type of mode is normally enchoes character back to be displayed on
the client’s screen.
Modes of Operation
• Line Mode
• Line editing like echoing, character erasing etc is done from the client side.
• Client will send the whole line to the server.