Chapter 30 Electronic Mail Representation & Transfer

Slides:



Advertisements
Similar presentations
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,
Advertisements

Application: Electronic Mail Linda Wu (CMPT )
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.
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.
Esimerkki: Sähköposti. Lappeenranta University of Technology / JP, PH, AH Electronic Mail Three major components: user agents mail servers simple mail.
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.
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)
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.
Chapter 7: Internet-Based Applications Business Data Communications, 6e.
1 Computer Communication & Networks Lecture 27 Application Layer: Electronic mail and FTP Waleed.
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 7 The Application Layer.
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.
A form of communication in which electronic messages are created and transferred between two or more devices connected to a network.
1 Applications Electronic Mail. 2 Electronic Mail Many user applications use client-server architecture. Electronic mail client accepts mail.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 3.1 Internet Applications Ch. 31,32,34 (DNS, , TELNET, FTP)
TELE202 Lecture 16 Internet applications (1) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Socket programming »Source: chapter 17 ¥This Lecture »Internet.
Simple Mail Transfer Protocol (SMTP)
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.
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)
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.
Chapter 16: Distributed Applications Business Data Communications, 4e.
Computer Networks with Internet Technology William Stallings Chapter 03 Traditional Applications.
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.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 2 1 Evaluating an Program and a Web-Based Service Basic Communication.
INTERNET PROTOCOLS. Microsoft’s Internet Information Server Home Page Figure IT2031 UNIT-3.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
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.
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.
Dr. Adil Yousif University of Alneelian – Master of CS - IT Electronic Mail.
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
SMTP: simple mail transfer protocol
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 9
CS- 492 : Distributed system & Parallel Processing
William Stallings Data and Computer Communications
Chapter 7 Network Applications
Chapter 2 Application Layer
Presentation transcript:

Chapter 30 Electronic Mail Representation & Transfer

Electronic Mailboxes and Addresses Mailbox is a location used to hold mail (eg. jupiter:/var/spool/mail/mailboxid is used to hold incoming mail) mailbox address format mailboxID@computer (eg. username@domainname) Each electronic mailbox has a unique address, which is divided into two parts: the first part (mailbox identifier) is interpreted locally for selecting a particular mailbox into which a message should be placed second part is used to select a destination computer.

Email Message Format An email message consists of two parts separated by a blank line. The first part is the header which specifies the sender, recipients , and subject. The second part is the body that contains the text of the message. Each header line begins with a keyword (eg. To, From, Cc, Bcc, Date, Subject) followed by a colon and additional information (fig 30.2). Header lines which are not understood by email software are passed through unchanged => good for communication between email applications.

Multipurpose Internet Mail Extensions Email systems originally designed use ASCII text only binary data (eg. graphics and programs) has to be encoded into text via hex representation Base64 encodes every 6 bits into one of 64 ASCII characters MIME (multipurpose Internet mail extensions) standard allows a sender to encode non-text data for transmission. MIME does not specify a single standard for encoding; sender can inform a recipient about the encoding used. message header lines used to indicate that the message adheres to MIME format MIME-Version: 1.0 Content-Type: text/plain (or Multipart/Mixed, audio, video, app) data type and the encoding specified in body. This allows the message body to contain different sections with different encoding.

Email and Application Programs An email address can correspond to a program which gets invoked automatically at destination instead of a mailbox. This facilitates automated response email systems

Mail Transfer & SMTP user interacts with email interface program when writing or reading messages. The underlying email system contains a separate mail transfer program that handles the details of sending a copy of the message to a remote computer (fig 30.3). Outgoing messages are placed by the email interface program to a queue that the mail transfer program handles. (eg. jupiter: /var/spool/mqueue) The mail transfer program waits for a message to be placed on its queue, and then transfers a copy of the message to each recipient, which can be on local computer or on remote computer.

Mail Transfer & SMTP (cont.) To send mail to remote computer, the mail transfer program running as a client in the background on sender’s computer contacts the email server on the recipient’s computer by opening a TCP connection to port 25. Simple Mail Transfer Protocol (SMTP) is then used by the two programs which allows the sender to identify itself, specify a recipient, and to transfer the message to the recipient’s mailbox. SMTP guarantees reliable delivery: sender does not delete its copy of message until receiver has stored a copy on its hard disk.

SMTP Protocol RFC 821 SMTP commands HELO MAIL FROM: sender email address RCPT TO: recipient email address DATA QUIT

Mail Exploders, Forwarders, and Mailing Lists Mail exploder, mail forwarder, or mailing list is a program that can forward copies of a message. An exploder uses a database(eg. flat file of list name followed by email address of users in mailing list) to provide communication among large groups of participants (fig 30.4). When a message is sent to a mailing list, the exploder forwards a copy to each member of the list. Automated list manager is an automated program that accepts a request to add (eg. subscribe mailbox listname) or remove a user’s email address from a particular mailing list

Mail Gateways Aka mail relay (fig 30.5) a computer used to forward email. mail gateway can be used to make email addresses of all users uniform. A database on gateway must contain an entry for user that specifies the employee’s mailbox on a specific machine in the company. Exploder on gateway would forward mail to user’s internal mailbox. advantage of mail gateways is flexibility in moving internal mailboxes to different servers.

Mailbox Access POP(Post Office Protocol) IMAP POP client run on microcomputers to access a mailbox on a remote computer. POP server access the contents of user’s mailbox on remote server. Mail server uses SMTP protocol while POP server uses POP protocol (fig 30.6). IMAP IMAP client software runs on microcomputer IMAP server runs on mail server

Mail Transfer at CSLA (mail.jpg)