1 Kyung Hee University Chapter 22 Simple Mail Transfer Protocol (SMTP)

Slides:



Advertisements
Similar presentations
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)
Advertisements

Applications:Electronic Mail (SMTP, POP, IMAP, MIME) (Chapter 27) : Presented By : Subhendu Mahanta. Purvi Shah. Jenni Bhatia. Della Nair. Nafiza Islam.
INTRANET MAIL SERVER (DESIGN OF SMTP and POP3)
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 23 Electronic Mail: SMTP,
Application: Electronic Mail Linda Wu (CMPT )
Application Layer Pertemuan 25 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
Chapter 6: Distributed Applications Business Data Communications, 5e.
Chapter 29 Structure of Computer Names Domain Names Within an Organization The DNS Client-Server Model The DNS Server Hierarchy Resolving a Name Optimization.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
TCP/IP Protocol Suite 1 Chapter 20 Upon completion you will be able to: Electronic Mail: SMTP, POP, and IMAP Understand four configurations of architecture.
CPSC 441: FTP & SMTP1 Application Layer: FTP & Instructor: Carey Williamson Office: ICT Class.
Chapter 2: Application layer  2.1 Web and HTTP  2.2 FTP 2-1 Lecture 5 Application Layer.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 23 Electronic Mail: SMTP,
Electronic Mail and SMTP
COS 420 DAY 25. Agenda Assignment 5 posted Chap Due May 4 Final exam will be take home and handed out May 4 and Due May 10 Today we will discuss.
Chapter 30 Electronic Mail Representation & Transfer
Esimerkki: Sähköposti. Lappeenranta University of Technology / JP, PH, AH Electronic Mail Three major components: user agents mail servers simple mail.
26.1 Chapter 26 Remote Logging, Electronic Mail, and File Transfer Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
Applications:Electronic Mail (SMTP,POP,IMAP,MIME) Presented by-Tarun Lall Badrinath Sai Kumar Praveen.
Simple Mail Transfer Protocol
Architecture of SMTP, POP, IMAP, MIME.
Introduction 1 Lecture 7 Application Layer (FTP, ) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science & Engineering.
Mail Server Fitri Setyorini. Content SMTP POP3 How mail server works IMAP.
Electronic Mail: SMTP, POP, and IMAP
Simple Mail Transfer Protocol (SMTP) Kanika Thapar CISC 856 TCP/IP and Upper Layer Protocols 11/8/2007 (Some slides provided by Ezra Kissel, some figures.
Message preparation Word processing Annotation Message sending User directory Timed delivery Multiple addressing Message priority Status information.
Electronic Mail (SMTP, POP, IMAP, MIME)
1 What is Electronic Mail Exchanging information via computer networks Electronic mail addresses SMTP (Simple Mail Transfer Protocol) Client/Server based.
SMTP, POP3, IMAP.
1 Application Layer Lecture 5 Imran Ahmed University of Management & Technology.
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 9
CSE401N: Computer Networks Lecture-5 Electronic Mail S. M. Hasibul Haque Lecturer Dept. of CSE, BUET.
Review: –How do we address “a network end-point”? –What services are provided by the Internet? –What is the network logical topology observed by a network.
Application Layer Protocols Simple Mail Transfer Protocol.
Chapter 7: Internet-Based Applications Business Data Communications, 6e.
1 Computer Communication & Networks Lecture 27 Application Layer: Electronic mail and FTP Waleed.
Lecturer: Maxim Podlesny Sep CSE 473 File Transfer and Electronic in Internet.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 12 Electronic Mail.
Electronic Mail Originally –Memo sent from one user to another Now –Memo sent to one or more mailboxes Mailbox –Destination point for messages.
TCP/IP Protocol Suite 1 Chapter 20 Upon completion you will be able to: Electronic Mail: SMTP, POP, and IMAP Understand four configurations of architecture.
26.1 Chapter 26 Remote Logging, Electronic Mail, and File Transfer Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
Computer Networks26-1 Chapter 26. Remote Logging, Electronic Mail and File Transfer.
CPT 499 Internet Skills for Educators Electronic Mail Session Five.
Simple Mail Transfer Protocol (SMTP)
What is and How Does it Work?  Electronic mail ( ) is the most popular use of the Internet. It is a fast and inexpensive way of sending messages.
File Transfer Protocol (FTP)
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Network Protocols Chapter 26 (Data Communication and Networking): Remote Logging, Electronic Mail, and.
1 SMTP - Simple Mail Transfer Protocol –RFC 821 POP - Post Office Protocol –RFC 1939 Also: –RFC 822 Standard for the Format of ARPA Internet Text.
Lecture 6: Sun: 8/5/1435 Distributed Applications Lecturer/ Kawther Abas CS- 492 : Distributed system & Parallel Processing.
CS 3830 Day 9 Introduction 1-1. Announcements r Quiz #2 this Friday r Demo prog1 and prog2 together starting this Wednesday 2: Application Layer 2.
INTERNET PROTOCOLS. Microsoft’s Internet Information Server Home Page Figure IT2031 UNIT-3.
Chapter 16: Distributed Applications Business Data Communications, 4e.
Slides based on Carey Williamson’s: FTP & SMTP1 File Transfer Protocol (FTP) r FTP client contacts FTP server at port 21, specifying TCP as transport protocol.
1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Electronic Mail: SMTP, POP IMAP, and MIME.
COMP 431 Internet Services & Protocols
1 Architecture 2 User Agent 3 Message Transfer Agent 4 Message Access Agent 5 MIME 6 Web-Based Mail 7 Electronic Mail Security.
Data and Computer Communications Tenth Edition by William Stallings Data and Computer Communications, Tenth Edition by William Stallings, (c) Pearson Education.
1 Chapter 10: Application Layer Reference: Chapter 7 - “Computer Networks”, Andrew S. Tanenbaum, 4th Edition, Prentice Hall, 2003.
26.1 Electronic Mail Sending/Receiving Mail Addresses User Agent MIME Mail Transfer Agent Mail Access Protocols.
26.1 Chapter 26 Remote Logging, Electronic Mail, and File Transfer Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
Spring 2006 CPE : Application Layer_ 1 Special Topics in Computer Engineering Application layer: Some of these Slides are Based on Slides.
درس مهندسی اینترنت – مهدی عمادی مهندسی اینترنت برنامه‌نویسی در اینترنت 1 SMTP, FTP.
© MMII JW RyderCS 428 Computer Networks1 Electronic Mail  822, SMTP, MIME, POP  Most widely used application service  Sometimes only way a person ever.
SMTP - Simple Mail Transfer Protocol POP - Post Office Protocol
Networking Applications
Remote Logging, Electronic Mail, and File Transfer
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 9
William Stallings Data and Computer Communications
Chapter 7 Network Applications
Presentation transcript:

1 Kyung Hee University Chapter 22 Simple Mail Transfer Protocol (SMTP)

2 Kyung Hee University Introduction  TCP/IP protocol that supports electronic mail on the Internet is called Simple Mail Transfer Protocol (SMTP) It is a system for sending messages to other computer users based on addresses. SMTP supports : l Sending a single message to one or more recipients. l Sending messages that include text, voice, video, or graphics. l Sending messages to users on networks outside the Internet

3 Kyung Hee University Introduction (cont’d)  SMTP concept

4 Kyung Hee University Introduction (cont’d)  The components of SMTP system user agent (UA) l prepares the message, creates the envelope, and puts the message in the envelope mail transfer agent (MTA) l transfers the mail across the Internet.

5 Kyung Hee University Introduction (cont’d)  Relay MTAs : relaying the mail

6 Kyung Hee University Introduction (cont’d)  Mail gateway can receive mail prepared by a protocol other than SMTP and transform it to SMTP format before sending

7 Kyung Hee University 22.1 User Agent (UA)  is defined in SMTP, but the implementation details are not  Popular user agent programs are MH, Berkeley Mail, Elm, Zmail, and Mush  Some user agents have an extra user interface that allows window-type interactions with the system. Eudora is an example of this type of user interface

8 Kyung Hee University User Agent (cont’d)  Sending mail

9 Kyung Hee University User Agent (cont’d)  Receiving mail The UA periodically checks the mailboxes If a user has mail, the UA informs the user first by giving a notice. If the user is ready to read the mail, a list is displayed in which each line contains a summary of the information about a particular message in the mailbox The summary usually includes the sender mail address, the subject, and the time the mail was sent or received.

10 Kyung Hee University 22.2 Addresses  The addressing system used by SMTP consists of two parts : a local part and a domain name

11 Kyung Hee University 22.3 Delayed Delivery  The message does not necessarily have to be delivered immediately but can be delayed at the sender site, receiver site, or the intermediate servers.  Sender-site Delay SMTP specifies that the sender site must accommodate a spooling system in which messages are stored before being sent. The mail transfer system periodically checks the mail stored in the pool to see if the mail can be sent.

12 Kyung Hee University Delayed Delivery (cont’d)  Sender-site Delay

13 Kyung Hee University Delayed Delivery (cont’d)  Receiver-site Delay

14 Kyung Hee University Delayed Delivery (cont’d)  Intermediate Delay receiving mail, keeping mail messages in their own mailboxes and spooling and sending them appropriate.

15 Kyung Hee University 22.4 Aliases  SMTP allows one name, an alias, to represent several different addresses; this is called one-to-many alias expansion.  Also, a single user can be defined by several different addresses, called many-to-one alias expansion.  To handle these, the system must include an alias expansion facility at both the sender and receiver site

16 Kyung Hee University Aliases (cont’d)  Alias expansion

17 Kyung Hee University Aliases (cont’d)  one-to-many expansion

18 Kyung Hee University Aliases (cont’d)  Many-to-one expansion

19 Kyung Hee University 22.5 Mail Transfer Agent (MTA)  Doing the actual mail transfer.  SMTP simply defines how commands and responses must be sent back and forth.

20 Kyung Hee University Mail Transfer Agent (cont’d)  MTA in the entire system

21 Kyung Hee University 22.6 Command and Responses  Commands and responses to transfer messages between an MTA client and an MTA server  Each command or reply is terminated by a two- character (CR and LF) end-of-line token

22 Kyung Hee University Command and Responses (cont’d)  Command format it consists of a keyword followed by zero or more arguments. SMTP defines 14 commands.

23 Kyung Hee University Command and Responses (cont’d)  Responses

24 Kyung Hee University Command and Responses (cont’d)  Responses (cont’d)

25 Kyung Hee University 22.7 Mail Transfer Phases  Three phases : connection establishment, mail transfer, and connection termination.  Connection Establishment

26 Kyung Hee University Mail Transfer Phases (cont’d)  Message Transfer

27 Kyung Hee University Mail Transfer Phases (cont’d)  Connection Termination

28 Kyung Hee University 22.8 Multipurpose Internet Mail Extensions (MINE)  SMTP cannot be used for languages that are not supported by seven-bit ASCII characters (such as French, German, Hebrew, Russian, Chinese, and Japanese, Korea)  Also, SMTP cannot be used to send binary files or to send video or audio data.  MIME is supplementary protocol that allows non-ASCII data to be sent through SMTP. it is not mail protocol and cannot replace SMTP; it is only an extension to SMTP

29 Kyung Hee University MINE (cont’d)  MINE as set of software function

30 Kyung Hee University MINE (cont’d)  MINE defines five headers that can be added to the original SMTP header section to define the transformation parameters : 1. MIME version 2. Content-type 3. Content-Transfer-Encoding 4. Content-Id 5. Content-Description

31 Kyung Hee University MINE (cont’d)  MINE header

32 Kyung Hee University MINE (cont’d)  header, MINE Header, body

33 Kyung Hee University MINE (cont’d)  Data types for Content-Type

34 Kyung Hee University 22.9 Mail Delivery

35 Kyung Hee University Mail Access Protocols  In many organization, mail is received by an SMTP sever that is always on-line this SMTP sever provides a mail-drop service Workstations interact with the SMTP host to retrieve messages by using a client-server protocol such as POP, version 3 POP3 uses TCP well-known port 110

36 Kyung Hee University Mail Access Protocols  POP3

37 Kyung Hee University Mail Access Protocols  IMAP4 More powerful and more complex than POP3 Extra functions l A user can check the header prior to downloading. l A use can search the contents of the for a specific string of characteristics prior to downloading. l A user can partially download l A user can create, delete, or rename mailboxes on the mail server l A user can create a hierarchy of mailboxes in a folder for storage