Email1 Applications Electronic Mail. Email2 Electronic Mail Many user applications use client-server architecture. Electronic mail client accepts mail.

Slides:



Advertisements
Similar presentations
Applications:Electronic Mail (SMTP, POP, IMAP, MIME) (Chapter 27) : Presented By : Subhendu Mahanta. Purvi Shah. Jenni Bhatia. Della Nair. Nafiza Islam.
Advertisements

1 Electronic Mail u Three major components: u user agents u mail servers u simple mail transfer protocol: SMTP u User Agent u a.k.a. “mail reader” u composing,
Chapter 29 Structure of Computer Names Domain Names Within an Organization The DNS Client-Server Model The DNS Server Hierarchy Resolving a Name Optimization.
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.
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.
Dave Roberts.  Dynamic Host Configuration Protocol  DHCP  Simple Mail Transport Protocol  SMTP 2.
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.
-I CS-3505 Wb_ -I.ppt. 4 The most useful feature of the internet 4 Lots of different programs, but most of them can talk to each.
Introduction 1-1 Chapter 2 FTP & Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 IC322 Fall.
2: Application Layer1 Chapter 2 Application Layer These slides derived from Computer Networking: A Top Down Approach, 6 th edition. Jim Kurose, Keith Ross.
Electronic Mail (SMTP, POP, IMAP, MIME)
Internet Engineering Course
SMTP, POP3, IMAP.
1 Application Layer Lecture 5 Imran Ahmed University of Management & Technology.
1 Chapter Internet Applications (DNS, )
1 Chapter Internet Applications (DNS, )
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.
IT 424 Networks2 IT 424 Networks2 Ack.: Slides are adapted from the slides of the book: “Computer Networking” – J. Kurose, K. Ross Chapter 2: Application.
Intro to Computer Networks Bob Bradley The University of Tennessee at Martin.
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.
Electronic Mail. Most heavily used application on any network Uses client-server architecture –Electronic mail client accepts mail from user and delivers.
1 Computer Communication & Networks Lecture 27 Application Layer: Electronic mail and FTP Waleed.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 12 Electronic Mail.
Application Protocols: ELECTRONIC MAIL (SMTP, POP) CSNB534 Semester 2, 2007/2008 Asma Shakil.
Internet Applications  DNS   TELNET  FTP  Web browsing.
Electronic Mail Originally –Memo sent from one user to another Now –Memo sent to one or more mailboxes Mailbox –Destination point for messages.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 3.1 Internet Applications Ch. 31,32,34 (DNS, , TELNET, FTP)
CPT 499 Internet Skills for Educators Electronic Mail Session Five.
Simple Mail Transfer Protocol (SMTP)
IP and Errors IP Best Effort Datagrams can be: –Lost –Delayed –Duplicated –Delivered out of order –Corrupted.
1 Using Messages sent from machine to machine and stored for later reading. You will use a client to read –Type mail or pine in UNIX to read.
Electronic Mail. Client Software and Mail Hosts –Client PC has client software that communicates with user’s mail host –Mail hosts deliver.
File Transfer Protocol (FTP)
Application Layer1 Electronic Mail. Application Layer2 Electronic Mail Three major components: r user agents r mail servers r simple mail transfer protocol:
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.
CMPE 80N - Introduction to Networks and the Internet 1 Client-Server Architecture Client Server request response.
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.
A Quick Look At How Works Understanding the basics of how works can make life a lot easier for any user. Especially those who are interested.
Chapter 16: Distributed Applications Business Data Communications, 4e.
CS440 Computer Networks 1 Neil Tang 12/01/2008.
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.
World Wide Web r Most Web pages consist of: m base HTML page, and m several referenced objects addressed by a URL r URL has two components: host name and.
COMP 431 Internet Services & Protocols
1 Kyung Hee University Chapter 22 Simple Mail Transfer Protocol (SMTP)
26.1 Electronic Mail Sending/Receiving Mail Addresses User Agent MIME Mail Transfer Agent Mail Access Protocols.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
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
Applications:Electronic Mail (SMTP,POP,IMAP,MIME)
Networking Applications
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 9
Chapter 2: Application layer
William Stallings Data and Computer Communications
The Application Layer: SMTP, FTP
Chapter 7 Network Applications
Chapter 2 Application Layer
Presentation transcript:

1 Applications Electronic Mail

2 Electronic Mail Many user applications use client-server architecture. Electronic mail client accepts mail from user and delivers to server on destination computer. Many variations and styles of delivery.

3 Electronic Mail Electronic version of paper-based office memo –Quick, low-overhead written communication –Dates back to time-sharing systems in 1960s Because is encoded in an electronic medium, new forms of interaction are possible –Fast –Automatic processing - sorting, reply –Can carry other content

4 Electronic Mailboxes users have an electronic mailbox into which incoming mail is deposited User then accesses mail with a mail reader program Usually associated with computer account; one user may have a different electronic mailboxes

5 Addresses Electronic mailbox is identified by an e- mail address. Typically user's account ID, although not always. On non-networked multi-user computer, e- mail address is just account ID (no need to identify computer).

6 Addresses Mail delivery among networked computers is more complicated Must identify computer as well as mailbox Syntactically, address is composed of computer name and mailbox name Common example - Other: –host1!host2!host!user –host%user

7 Addressing User portion is site-specific – Droms, Ralph_E._Droms, Host portion is domain name. Source mail client –Resolves destination name using DNS (MX, if available) –Contacts mail delivery server at destination –Copies mail to server

8 Addressing Destination mail server –Interprets user name according to local mailbox addresses –Places mail in appropriate mailbox

9 Message Format Simple two-part format: –Header includes delivery information –Body carries text of message Header and body separated by blank line.

10 Headers Lines of text in format keyword: information keyword identifies information; information can appear in any order Essential information: –To: list of recipients –From: sender –Cc: list of copy recipients Useful information: –Reply-to: different address than From: –Received-by: for debugging

11 Headers Frivolous information: –Favorite-drink: lemonade –Phase-of-the-moon: gibbous

12 Example

13 Headers Mail software passes unknown header lines unchanged Some software may interpret vendor- specific information

14 Headers

15 Data in Original Internet mail carried only 7-bit ASCII. Couldn't contain arbitrary binary values; e.g., executable program. Techniques for encoding binary data allowed transport of binary data uuencode : 3 8-bit binary values as 4 ASCII characters (6 bits each) –Also carries file name and protection information –Incurs 33% overhead –Requires manual intervention

16 MIME Extends and automates encoding mechanisms - Multipart Internet Mail Extensions Allows inclusion of separate components - programs, pictures, audio clips - in a single mail message Sending program identifies the components so receiving program can automatically extract and

17 MIME and inform mail recipient –Header includes: MIME-Version: 1.0 Content-Type: Multipart/Mixed; Boundary = Mime_separator –Separator line appears before each part of the message. –Plain text includes: Content-type: text/plain

18 MIME MIME is extensible - sender and receiver must agree on encoding scheme and a name for it. MIME is compatible with existing mail systems –Everything encoded as ASCII –Headers and separators ignored by non-MIME mail systems MIME encapsulates binary data in ASCII mail envelope

19 Programs as Recipents Can arrange for box to be associated with a program rather than a user's mail reader. Incoming mail automatically processed as input to program. Example - mailing list subscription administration Can be used to implement client-server processing –Client request in incoming mail message –Server response in returned mail reply

20 Mail Transfer communication is really a two-part process: –User composes mail with an interface program –Mail transfer program delivers mail to destination Waits for mail to be placed in outgoing message queues Picks up message and determines recipient(s) Becomes client and contacts server on recipient's computer Passes message to server for delivery

21 Mail Transfer

22 SMTP Simple Mail Transfer Protocol (SMTP) is standard application protocol for delivery of mail from source to destination Provides reliable delivery of messages Uses TCP and message exchange between client and server Other functions: – address lookup – address verification

23 SMTP Protocol Exchange -220 coral.bucknell.edu Sendmail 5.65v3.0 ( /29Aug AM) Sat, 5 Apr :47: HELO regulus.eg.bucknell.edu -250 coral.bucknell.edu Hello regulus.eg.bucknell.edu -MAIL FROM: droms -250 droms... Sender ok -RCPT TO: droms -250 droms... Recipient ok -DATA -354 Enter mail, end with ". “ - This is a test mail message Ok -QUIT -221 coral.bucknell.edu closing connection

24 Multiple Recipients Suppose and are all recipients of a mail message. SMTP allows client to specify all three and deliver single copy of message. Server makes three copies for delivery.

25 Mailing Lists & Forwarders addresses can be attached to programs as well as electronic mailboxes. Mail exploder or mail forwarder resends copies of message to addresses in mailing list. –Mailing list processor, e.g., listserv, can also interpret subscription management commands

26 Mailing Lists & Forwarders

27 Mail Gateways Mailing list processing may take significant resources in large organization Therefore often require a dedicated server computer: mail gateway –Does mailing list processing and –Provides single mail destination point for all incoming mail. e.g., bucknell.edu.

28 Mail Gateways & Forwarding Users is forwarded from mail gateway to the users’ mailboxes. Message now makes multiple hops for delivery Hops may be recorded in header Forwarded mail may use proprietary (non- SMTP) mail system

29 Mail Gateways

30 Mail Gateways & Addresses Organization may want to use uniform naming for external mail Internally, may have many different systems with different naming conventions. Mail gateways can translate addresses Ralph_Droms Dan_Little Ruth_Miller

31 Mailbox Access Where should mailbox be located? Users want to access mail from most commonly used computer… unfortunately not possible. Can't always use desktop computer as mail server. –Not always running –Requires multitasking operating system –Requires local disk storage Can TELNET to remote comptuer with mail server.

32 Mail Access Protocols Instead of TELNET, use protocol that accesses mail on remote computer directly TCP/IP protocol suite includes Post Office Protocol (POP) for remote mailbox access –Computer with mailboxes runs POP server –User runs POP client on local computer –POP client can access and retrieve messages from mailbox –Requires authentication (password) –Local computer uses SMTP for outgoing mail

33 Mail Access Protocols

34 POP & Dial-up Access POP useful for dialup connection –Users computer not always connected –Can download all mail at once and read off-line –Can compose mail off-line and mail in one connection

35 IMAP POP is part of the TCP/IP service protocol, where users can access mails from ONE single computer (or multiple computers served by one file server). –The messages are downloaded, and typically deleted from the mail server. IMAP allows the users access multiple mail servers with ease. –It also is more effective when users need to access mails from multiple sites

36 Summary Electronic mail based on office memo paradigm Allows quick, asynchronous communication across entire Internet Can attach addresses to programs for processing –Mailing lists –Other client-server applications Simple Mail Transfer Protocol (SMTP) is Internet standard for mail delivery

37 Summary Mail gateways –Provide uniform user addressing outside organizations –Translate from Internet mail (e.g., SMTP) to proprietary systems Post Office Protocol (POP) allows remote access to electronic mailboxes