E-Mail CSC 102 Lecture 9.

Slides:



Advertisements
Similar presentations
TOPIC : MIME (Multipurpose Internet Mail Extensions ) By: Cecilia Gomes COSC 541,DATA COMMUNICATION SYSTEMS & NETWORKS Instructor: Prof. Anvari (SEU)
Advertisements

Basic Communication on the Internet:
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,
Application Layer Pertemuan 25 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
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.
Technion – Israel Institute of Technology Department of Electrical Engineering Software Lab Remote Mailbox based on.NET technology Michael and Eugene Shamis.
SNMP & MIME Rizwan Rehman, CCS, DU. Basic tasks that fall under this category are: What is Network Management? Fault Management Dealing with problems.
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.
Simple Mail Transfer Protocol
Architecture of SMTP, POP, IMAP, MIME.
Mail Server Fitri Setyorini. Content SMTP POP3 How mail server works 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.
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.
Computer Concepts 2014 Chapter 7 The Web and .
Simple Mail Transfer Protocol
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.
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.
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.
Telecooperation Technische Universität Darmstadt Copyrighted material; for TUD student use only Internet Standards: Julian Schröder-Bernhardi, Dirk.
1 Applications Electronic Mail. 2 Electronic Mail Many user applications use client-server architecture. Electronic mail client accepts mail.
 TCP/IP is the communication protocol for the Internet  TCP/IP defines how electronic devices should be connected to the Internet, and how data should.
Computer Networks26-1 Chapter 26. Remote Logging, Electronic Mail and File Transfer.
Simple Mail Transfer Protocol (SMTP)
Web Technology. History of the Internet Internet was developed by ARPANet in ARPANet (American Research Project Agency Network)
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.
The Internet 8th Edition Tutorial 2 Basic Communication on the Internet: .
Electronic Mail. Client Software and Mail Hosts –Client PC has client software that communicates with user’s mail host –Mail hosts deliver.
SMTP( 简单邮件传输协议 ) SIMPLE MAIL TRANSFER PROTOCOL RFC 2812.
1 Blackboard To Log In: Go To: Click On: Login Username: Firstname.Lastname Password: Last 4 digits of S.S. # View often for.
File Transfer Protocol (FTP)
April 5, 2004 Prof. Paul Lin 1 CPET 355 Data Communications & Networking 7. The Application Layer: Paul I-Hai Lin, Professor Electrical and Computer.
Concepts  messages are passed through the internet by using a protocol called simple mail transfer protocol.  The incoming messages are.
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.
TCP/IP (Transmission Control Protocol / Internet Protocol)
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.
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.
1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Electronic Mail: SMTP, POP IMAP, and MIME.
CIT 140: Introduction to ITSlide #1 CSC 140: Introduction to IT Electronic Mail.
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
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.
© 2010 Computer Science Faculty, Kabul University FTP AND ELECTRONICE MAIL 5 TH LECTURE 4, May, 2010 Baseer Ahmad Baheer.
Spring 2006 CPE : Application Layer_ 1 Special Topics in Computer Engineering Application layer: Some of these Slides are Based on Slides.
درس مهندسی اینترنت – مهدی عمادی مهندسی اینترنت برنامه‌نویسی در اینترنت 1 SMTP, FTP.
Computer Network 1 HCM City University of Technology
Simple Mail Transfer Protocol
Networking Applications
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 9
Social Media And Global Computing Sending
Simple Mail Transfer Protocol
Chapter 2: Application layer
Internet and Intranet Protocols and Applications
William Stallings Data and Computer Communications
Protocols 2 Key Revision Points.
Presentation transcript:

E-Mail CSC 102 Lecture 9

Email Life Cycle A B 4. Viewing 1. Composition 5. Archival Mail server Groupwise, Eudora etc. Groupwise, Eudora etc. 1. Composition 5. Archival SMTP POP/IMAP Mail server Mail server 3. Queueing 2. Transmission TCP/IP

SMTP = Simple Mail Transport Protocol “The goal of [SMTP] is to transfer mail reliably and efficiently.” Email written in plain ASCII text Uses TCP/IP for transmission Flexible, expandable format Trust-based -- no verification!

SMTP Format Email begins with header Each header line begins with descriptor E.g.: To: Subject: Date: etc. Blank line indicates end of header Remainder of message is body Arbitrary format This is what shows up in your email reader

Sample Email From: "British Telecom" <telecom02@9.cn> Subject: One Million Pounds Date: Fri, 09 Jul 2010 18:16:26 -0500 Content-Type: text/plain;charset=iso-8859-1; format="flowed" Content-Transfer-Encoding: 8bit One Million Pounds has been Awarded to in you in our BT PROMO.Send your Names... Country... Occupation... Tel... Age... Header Body In Groupwise, view by clicking the Message Source tab (for external email only)

Postmarks Mail servers often add lines to the header as they handle an email Each server handling email adds Received line Received: from mscreen4.smith.edu ([131.229.64.70]) by gwsmtp1.smith.edu with ESMTP; Tue, 23 Nov 2010 12:07:57 -0500 Includes timestamp & source Like geologic layers: most recent at top Spam checkers add annotations also X-NAI-Spam-Threshold-Checked: 4.5

Timestamps Tue, 23 Nov 2010 12:07:57 -0500 Standard formats for time and date Time zone of server given last -0500 means 5 hours behind universal time - i.e., Eastern Standard Time Timestamp comes from server’s system clock

Demo: Mail from Tooth Fairy What can you figure out about this message? Return-path: <nhowe@cs.smith.edu> Received: from cs.smith.edu (scinix.smith.edu [131.229.72.8]) by gwemail.smith.edu with ESMTP; Tue, 23 Nov 2010 13:28:42 -0500 Received: from beowulf.csc.smith.edu (beowulf.csc.smith.edu [131.229.72.10]) by cs.smith.edu (Postfix) with ESMTP id 0233FEEA77 for <nhowe@smith.edu>; Tue, 23 Nov 2010 13:28:40 -0500 (EST) Received: (from nhowe@localhost) by beowulf.csc.smith.edu (8.14.4/8.14.4/Submit) id oANISdqM003861; Tue, 23 Nov 2010 13:28:39 -0500 Date: Tue, 23 Nov 2010 13:28:39 -0500 Message-Id: <201011231828.oANISdqM003861@beowulf.csc.smith.edu> From: tooth.fairy@fairyland.org To: nhowe@smith.edu Subject: Your Teeth Dear Nick, You haven't left any teeth for me in a very long time. Don't you believe in me any more? The Tooth Fairy /usr/sbin/sendmail –t < toothfairy.txt

Email Attachments Early email was text-only: no attachments People wanted convenience of sending files MIME: Multipurpose Internet Mail Extensions Special format for body of email Split into parts, with header giving lengths & types Non-text files encoded as text Described in RFC 2045 & 2046

Sample MIME Content MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="frontier" This is a message with multiple parts in MIME format. --frontier Content-Type: text/plain This is the body of the message. Content-Type: application/octet-stream Content-Transfer-Encoding: base64 PGh0bWw+CiAgPGhlYWQ+CiAgPC9oZWFkPgogIDxib2R5PgogICAgPHA+VGhpcyBpcyB0aGUg Ym9keSBvZiB0aGUgbWVzc2FnZS48L3A+CiAgPC9ib2R5Pgo8L2h0bWw+Cg== --frontier--

MIME Type MIME standard classifies content Guides recipient to proper display program Each sort of content has a type and subtype text/plain (plain text) text/html (text with HTML tags) application/octet-stream (binary file) image/jpeg (JPEG image) video/mpeg (MPEG video file) audio/mpeg (MP3 audio file)

Other MIME Standards RFC 2822 allows non-Latin characters in subject and other header lines Subject: =?iso-8859-1?Q?=A1Hola,_se=F1or!?= becomes: Subject: ¡Hola, señor! MIME Content-Disposition header line can ask an attachment to open automatically Why is this dangerous? Most email programs now ignore this directive

Receiving Mail: POP & IMAP POP = Post Office Protocol Messages stored temporarily on mail server Bulk download to single computer Minimizes connection time  Good for dial-up IMAP = Internet Mail Access Protocol Mail archived on central server Accessible from any networked client More centralized & connection dependent

Spam Email The Spam Skit Spam: Unsolicited commercial email Not spam if prior business relationship exists Legitimate businesses must offer opt-out Spam pays! (6-figure incomes. Why?) Prevention mechanisms are an arms race Rule-based detectors look for keys (Viagra) Example-based detectors assess similarity to known spam

Smith & Spam (1)

Smith & Spam (2)