COS 420
-
Upload
clemance-legend -
Category
Documents
-
view
29 -
download
2
description
Transcript of COS 420
![Page 1: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/1.jpg)
COS 420
DAY 25
![Page 2: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/2.jpg)
Agenda
Assignment 5 posted Chap 22-26 Due May 4
Final exam will be take home and handed out May 4 and Due May 10
Today we will discuss Electronic Mail (SMTP, POP, IMAP, MIME)
![Page 3: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/3.jpg)
Project 2 Grading Meeting Timelines 10% Deliverables
Program requirements Due March 30 15%
late Protocol Definition Due April 13 15%
Better but I hope to see improvement by May1 Working Network Application Due May 4 25% Final Paper Due May 1 25%
User Manual Protocol Program requirements Technical Specifications
Presentation Due May 4 10%
![Page 4: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/4.jpg)
Electronic Mail
Among most widely used Internet services
Two major components User interface Mail transfer software
Paradigm: transfer is separate background activity
![Page 5: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/5.jpg)
Illustration Of Email System Components
![Page 6: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/6.jpg)
Mailbox Names And Aliases
Email destination identified by pair( mailbox, computer )
Aliases permitted (user enters alias that is expanded)
![Page 7: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/7.jpg)
Forwarding
Powerful idea Email arriving on a computer can
be forwarded to an ultimate destination
![Page 8: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/8.jpg)
Illustration Of Aliases And Forwarding
![Page 9: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/9.jpg)
TCP/IP Standards For Email
Syntax for email addresses Format of email message Protocols for email transfer and
mailbox access
![Page 10: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/10.jpg)
Email Address Syntax
Mailbox identified by string mailbox@computer String computer is domain name of
computer on which a mailbox resides
String mailbox is unique mailbox name on the destination computer
![Page 11: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/11.jpg)
Format Of Email Message
Message consists of Header Blank line Body of message
Headers have formkeyword : information
Standard given in RFC 2822
![Page 12: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/12.jpg)
E-mail headerReturn-Path: <[email protected]>Received: from granite.unet.maine.edu ([unix socket])
by granite.unet.maine.edu (Cyrus v2.2.12-Maine-RPM-2.2.12-3.RHEL4.1.um.2) with LMTPA; Fri, 28 Apr 2006 14:16:12 -0400
X-Sieve: CMU Sieve 2.2Received: from VoisineScott (VoisineScott.umfk.maine.edu [130.111.68.129])
by granite.unet.maine.edu (8.13.1/8.13.1) with ESMTP id k3SIEdHh000307;Fri, 28 Apr 2006 14:15:06 -0400
From: "Scott Voisine" <[email protected]>To: "Scott Voisine" <[email protected]>Subject: EDU 405 PlayDate: Fri, 28 Apr 2006 14:14:39 -0400Message-ID: <[email protected]>MIME-Version: 1.0Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0032_01C66ACE.22D15830"X-Mailer: Microsoft Office Outlook 11X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869Thread-index: AcZq75BMY/2KYcRVRGurpMOPNTltNA==X-MailScanner-Information: Please contact the ISP for more informationX-MailScanner: Found to be cleanX-MailScanner-From: [email protected]
![Page 13: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/13.jpg)
Protocol For Email Transfer
Specifies interaction between transfer components Transfer client Transfer server
Standard protocol is Simple Mail Transfer Protocol (SMTP)
![Page 14: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/14.jpg)
SMTP
Application-level protocol Uses TCP Commands and responses
encoded in ASCII
![Page 15: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/15.jpg)
Example Of SMTP
![Page 16: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/16.jpg)
Protocol For Mailbox Access Used when user’s mailbox resides on
remote computer Especially helpful when user’s local
computer is not always on-line Two protocols exist
Post Office Protocol version 3 (POP3) Internet Message Access Protocol (IMAP)
Each provides same basic functionality User authentication Mailbox access commands
![Page 17: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/17.jpg)
Multipurpose Internet Mail Extensions (MIME) Permits nontextual data to be sent in email
Graphics image Voice or video clip
Sender Encodes binary item into printable characters Places in email message for transfer
Receiver Receives email message containing encoded
item Decodes message to extract original binary
value
![Page 18: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/18.jpg)
MIME Header Header in email message describes
encoding used Example
From: [email protected]: [email protected]: 1.0Content-Type: image/jpegContent-Transfer-Encoding: base64
...data for the image...
![Page 19: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/19.jpg)
Seven Basic MIME Types
![Page 20: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/20.jpg)
Example Of Mixed / Multipart Message
![Page 21: COS 420](https://reader036.fdocuments.in/reader036/viewer/2022062421/56812a57550346895d8daf74/html5/thumbnails/21.jpg)
Summary Email operates at application layer Conceptual separation between
User interface Mail transfer components
Simple Mail Transfer Protocol (SMTP) Standard for transfer Uses ASCII encoding
Post Office Protocol (POP) And Internet Mail Access Protocol (IMAP) allow access of remote mailbox.
Multipurpose Internet Mail Extensions (MIME) permits transfer of nontextual information (e.g., images)