TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 23 Electronic Mail: SMTP,

Slides:



Advertisements
Similar presentations
Divide-and-Conquer. 什麼是 divide-and-conquer ? Divide 就是把問題分割 Conquer 則是把答案結合起來.
Advertisements

第 七 章 開放式問句與探究.
布林代數的應用--- 全及項(最小項)和全或項(最大項)展開式
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 23 Electronic Mail: SMTP,
3Com Switch 4500 切VLAN教學.
組員:淡江大學 資管碩一 何永欣 淡江大學 資管碩一 鄭奕騰 1.
在 Ad-hoc 網路中實現點對 點發送訊息與廣播訊息. 檔案下載  範例程式可在下列網址取得  DEMO 程式可在下列網址取得
第 15 章 建立網路應用程式 15-1 瀏覽程式的建立 15-1 瀏覽程式的建立 15-2 媒體播放程式 15-2 媒體播放程式 15-3 寄送電子郵件 15-3 寄送電子郵件 15-4 檢查 POP 3 的電子郵件 15-4 檢查 POP 3 的電子郵件.
Outlook Express.
1 實驗二 : SIP User Mobility 實驗目的 藉由 Registra 和 Redirect Server 的設計,深入瞭解 SIP 的運 作及訊息格式。 實作部分 ( 1 )實作一個 Registrar 來接收 SIP REGISTER ,而且 要將 REGISTER 中 Contact.
1 Secure Context-sensitive Authorization 2005 Author : Kazuhiro Minami, David Kotz Presented by Shih Yu Chen.
JAVA 程式設計與資料結構 第十四章 Linked List. Introduction Linked List 的結構就是將物件排成一列, 有點像是 Array ,但是我們卻無法直接經 由 index 得到其中的物件 在 Linked List 中,每一個點我們稱之為 node ,第一個 node.
1 Devices Descriptions for Context- Based Content Adaptation Reporter :Wei-Zhi Chen.
各種線上電子資源的特異功能 STICnet 的 SDI 專題訂閱服務 2003/4/28 修改. 無論校內外皆可使用。連線至
JAVA 程式設計與資料結構 第十章 GUI Introdution III. File Chooser  File Chooser 是一個選擇檔案的圖形介面, 無論我們是要存檔還是要開啟檔案,使 用這個物件都會讓我們覺得容易且舒適。
第 15 章 VB.NET 網路應用程式 15-1 瀏覽程式的建立 15-1 瀏覽程式的建立 15-2 媒體播放程式 15-2 媒體播放程式 15-3 寄送電子郵件 15-3 寄送電子郵件 15-4 檢查電子郵件 POP 檢查電子郵件 POP 3.
Introduction to Java Programming Lecture 17 Abstract Classes & Interfaces.
第九章 網際網路快遞 計算機概論編輯小組. 計算機概論 p9-2 大綱  電子郵件入門( )  elm  IE Outlook Express  Netscape 傳訊者  通訊錄管理.
: The largest Clique ★★★★☆ 題組: Contest Archive with Online Judge 題號: 11324: The largest Clique 解題者:李重儀 解題日期: 2008 年 11 月 24 日 題意: 簡單來說,給你一個 directed.
© The McGraw-Hill Companies, Inc., 2006© The McGraw-Hill Companies, Inc., 2007 Chapter 7 位址解析通訊協定及 反向位址解析通訊協定.
Matlab Assignment Due Assignment 兩個 matlab 程式 : Eigenface : Eigenvector 和 eigenvalue 的應用. Fractal : Affine transform( rotation, translation,
: Fast and Easy Data Compressor ★★☆☆☆ 題組: Problem Set Archive with Online Judge 題號: 10043: Fast and Easy Data Compressor 解題者:葉貫中 解題日期: 2007 年 3.
© The McGraw-Hill Companies, Inc., 2006© The McGraw-Hill Companies, Inc., 2007 Chapter 3 底層技術.
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.
:Nuts for nuts..Nuts for nuts.. ★★★★☆ 題組: Problem Set Archive with Online Judge 題號: 10944:Nuts for nuts.. 解題者:楊家豪 解題日期: 2006 年 2 月 題意: 給定兩個正整數 x,y.
資料結構實習-一 參數傳遞.
網路程式設計 簡易網路程式 2. 簡易線上溝通程式 3. 網路應用程式 4.Servlet 程式設計 5.
Management Abstracts Retrieval System; MARS 檢索操作.
Image Interpolation Use SSE 指導教授 : 楊士萱 學 生 : 楊宗峰 日 期 :
© The McGraw-Hill Companies, Inc., 2006© The McGraw-Hill Companies, Inc., 2007 Chapter 4 IP 定址:分級式定址.
Chapter 10 m-way 搜尋樹與B-Tree
JAVA 程式設計與資料結構 第十六章 Hash Tables. Introduction Hash Tables 結構為一個 Array ,稱之為 Bucket array 。 如果想要新增一個物件,要根據這個物件的特性 將其加入 Hash Table 內。 Bucket Array 用 A 來代替,其.
網路介紹及其運用 講師陳炯勳. 5-2 IP 協定 ( 一 ) IP 協定運作 (1) – 網路成員:主機 (Host) 與路由器 (Router) – 路由表 – 電報傳輸運作.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 23 Electronic Mail: SMTP,
概念性產品企劃書 呂學儒 李政翰.
無線通訊網路 Mac 層 TDM 通訊模式的操作與效能研究 專題生 : 林書弘、蔡逸祥、毛建翔、王政 華 指導教授 : 黃依賢.
UPnP Architecture Reporter: shi-han wang DCN LAB.
電腦的基本單位 類比訊號 (analog signal) 指的是連續的訊號 數位訊號 (digital signal) 指的是以預先定義的符號表示不連續 的訊號 one bit 8 bits=one byte 電腦裡的所有資料,包括文 字、數據、影像、音訊、視 訊,都是用二進位來表示的。
中序轉後序 藉由由左向右掃瞄中序運算式產生後序運算式,遇到 運算元就直接輸出,遇到運算符號則先存入堆疊,將 優先權較高者輸出。 範例: a + b * c TokenStack [0] [1] [2] topoutput aa ++0a b+0ab *+ *1ab c+ *1abc eosabc*+
電腦的基本單位 類比訊號 (analog signal) 指的是連續的訊號
Teacher : Ing-Jer Huang TA : Chien-Hung Chen 2015/6/30 Course Embedded Systems : Principles and Implementations Weekly Preview Question CH7.1~CH /12/26.
Outlook 教學與研習 (1) - 設定及收發郵件 - 設定郵件規則 陽明大學資訊與通信中心 陳坤元 2006/03/27.
: Wine trading in Gergovia ★★☆☆☆ 題組: Contest Volumes with Online Judge 題號: 11054: Wine trading in Gergovia 解題者:劉洙愷 解題日期: 2008 年 2 月 29 日 題意:在 Gergovia.
指導教授 : 林啟芳 教授 組員 : 邱秉良 林育賢. 何謂 GPS  GPS 即全球定位系統,是一個中距離圓 型軌道衛星導航系統。它可以為地球表面 絕大部分地區( 98% )提供準確的定位、 測速和高精度的時間標準。
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. 參 資料蒐集的方法.
: Finding Paths in Grid ★★★★☆ 題組: Contest Archive with Online Judge 題號: 11486: Finding Paths in Grid 解題者:李重儀 解題日期: 2008 年 10 月 14 日 題意:給一個 7 個 column.
著作權所有 © 旗標出版股份有限公司 第 14 章 製作信封、標籤. 本章提要 製作單一信封 製作單一郵寄標籤.
計 算 機 概 論 Chapter 10 作業系統. Ch010 作業系統 2 學習目標  描述作業系統的兩個主要任務  定義記憶體及程序管理  解釋邏輯位址與實體位址間的關係  基礎:第 5.2 節 范紐曼 電腦架構  ( 第 5 章講義第 頁 )
1-1/36 第 1 章 網路基礎. 1-2/36 網路基本概念  交換資訊:磁片  網路  什麼是網路? – 簡言之,透過傳輸媒介互相連接起來,好 讓彼此相互通訊及分享資源之一群設備.
幼兒行為觀察與記錄 第八章 事件取樣法.
第四章 認知程序與產品定位. 資訊處理的模型年齡 第一節 資訊接收 激發 – 當消費者暴露在一項新期的資訊下,而引發消 費者的內在心理處理程序。 注意 – 消費者必須對資訊注意才能夠接收和處理這項 資訊,在處理資訊時的注意包括兩個觀點:強 度和選擇性注意。
: Simple Minded Hashing ★★★☆☆ 題組: Problem Set Archive with Online Judge 題號: 10912: Simple Minded Hashing 解題者:陳俊達 解題日期: 2008 年 5 月 02 日 題意: 給兩個正整數,長度.
26.1 Chapter 26 Remote Logging, Electronic Mail, and File Transfer Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
Electronic Mail: SMTP, POP, and IMAP
1 柱體與錐體 1. 找出柱體與錐體的規則 2. 柱體的命名與特性 3. 柱體的展開圖 4. 錐體的命名與特性 5. 錐體的展開圖
School of Electronics and Telecommunications 1/25 Presented by: Pham Van Chi Bui Thi The Ha Electronic Mail: SMTP.
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.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Network Protocols Chapter 26 (Data Communication and Networking): Remote Logging, Electronic Mail, and.
1 The Application Layer Mail 李嘉銘 分散系統實驗室 成功大學電機系.
Software Engineering for Digital Home 單元 3 :軟體設計 Chapter 3-6 – Specifying Interfaces.
1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Electronic Mail: SMTP, POP IMAP, and MIME.
1 Architecture 2 User Agent 3 Message Transfer Agent 4 Message Access Agent 5 MIME 6 Web-Based Mail 7 Electronic Mail Security.
26.1 Chapter 26 Remote Logging, Electronic Mail, and File Transfer Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
CH5 數位微波通信 基本概念 1 數位微波中繼通信系統的組成 2 微波信號的視距傳輸特性 3. 一、基本概念 微波 (Microwave) 一般是指波長為 1m 到 1mm (相當於頻 率從 300MHz ~ 300GHz )範圍的電磁波。 微波通信 (Microwave Communication)
Remote Logging, Electronic Mail, and File Transfer
Remote Logging, Electronic Mail,
Presentation transcript:

TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 23 Electronic Mail: SMTP, POP IMAP, and MIME

TCP/IP Protocol Suite 2 Chapter Outline 23.1 Architecture 架構 23.2 User Agent 使用者代理器 23.3 Message Transfer Agent 訊息傳送代理器 23.4 Message Access Agent 訊息存取代理器 23.5 MIME 23.6 Web-Based Mail 網頁式郵件

TCP/IP Protocol Suite ARCHITECTURE To explain the architecture of , we give four scenarios. We begin with the simplest situation and add complexity as we proceed. The fourth scenario is the most common in the exchange of . 為了解釋架構的電子郵件,我們給四種情況。 我們首先從最簡單的情況,並增加複雜性,我 們繼續。第四個方案是最常見的交換電子郵件 。

TCP/IP Protocol Suite 4 Topics Discussed in the Section First Scenario 第一種情況 Second Scenario 第二種情況 Third Scenario 第三種情況 Fourth Scenario 第四種情況

TCP/IP Protocol Suite 5 Figure 23.1 First scenario

TCP/IP Protocol Suite 6 When the sender and the receiver of an are on the same mail server, we need only two user agents. 當傳送端和接收端的電子郵件都在同一個郵 件服務器, 我們只需要兩個使用者代理器 Note

TCP/IP Protocol Suite 7 Figure 23.2 Second scenario

TCP/IP Protocol Suite 8 When the sender and the receiver of an are on different mail servers, we need two UAs and a pair of MTAs (client and server). 當傳送端和接收端的電子郵件在不同的郵件 服務器, 我們需要兩個 UA 和 MIA( 一對多邊貿易協議 ) (用戶端和伺服器)。 Note

TCP/IP Protocol Suite 9 Figure 23.3 Third scenario

TCP/IP Protocol Suite 10 When the sender is connected to the mail server via a LAN or a WAN, we need two UAs and two pairs of MTAs (client and server). 當傳送端是透過 LAN 或 WAN 來連接到郵件 伺服器,我們需要兩個 UA 和兩對 MIA( 多邊 貿易協議 ) (客戶端和服務器)。 Note

TCP/IP Protocol Suite 11 Figure 23.4 Fourth scenario

TCP/IP Protocol Suite 12 When both sender and receiver are connected to the mail server via a LAN or a WAN, we need two UAs, two pairs of MTAs (client and server), and a pair of MAAs (client and server). This is the most common situation today. 當傳送端和接收者都是透過 LAN 或 WAN 連 接到郵件伺服器,我們需要兩個 UA ,兩對 MIA( 多邊貿易協議 ) (用戶端和伺服器), 以及一對 MAA 的(用戶端和伺服器)。這 是現今最常見的情況 。 Note

TCP/IP Protocol Suite 13 Figure 23.5 Push versus pull

TCP/IP Protocol Suite USER AGENT The first component of an electronic mail system is the user agent (UA). It provides service to the user to make the process of sending and receiving a message easier. 電子郵件系統的第一構成要素是使用者代理器 ( UA )。它讓使用者可以更容易地收發郵件訊 息

TCP/IP Protocol Suite 15 Topics Discussed in the Section Services Provided by a User Agent User Agent Types Sending Mail Receiving Mail Addresses Mailing List or Group List

TCP/IP Protocol Suite 16 Some examples of command-driven user agents are mail, pine, and elm. 指令列模式的 UA 的一些相關例子有 mail, pine, and elm Note

TCP/IP Protocol Suite 17 Some examples of GUI-based user agents are Eudora, Outlook, And Netscape. CUI 模式 UA 的一些相關例子有微軟的 Outlook, 和 Netscape. Note

TCP/IP Protocol Suite 18 Figure 23.6 Format of an

TCP/IP Protocol Suite 19 Figure address

TCP/IP Protocol Suite MESSAGE TRANSFER AGENT The actual mail transfer is done through message transfer agents (MTAs). To send mail, a system must have the client MTA, and to receive mail, a system must have a server MTA. The formal protocol that defines the MTA client and server in the Internet is called Simple Mail Transfer Protocol (SMTP). As we said before, two pairs of MTA client-server programs are used in the most common situation (fourth scenario). Figure 23.8 shows the range of the SMTP protocol in this scenario. 實際的郵件傳輸是通過郵件傳輸代理( MTA )。要發送郵件,系統必須具有用戶端的 MTA ,並接收郵件,系統必須有一個伺服器上的 MTA 。正式協議,它定義了 MTA 用 戶端和伺服器的通訊協定稱為簡易郵件傳輸通訊協定( SMTP )。正如我們以前說過 ,兩對 MTA 的用戶端伺服器方案中使用了最常見的情況(第四種情況)。圖 23.8 說 明了一系列的 SMTP 通訊協定的涵蓋範圍。

TCP/IP Protocol Suite 21 Topics Discussed in the Section Commands and Responses 指令和回應 Mail Transfer Phases 郵件傳送階段

TCP/IP Protocol Suite 22 Figure 23.8 SMTP range

TCP/IP Protocol Suite 23 Figure 23.9 Commands and responses

TCP/IP Protocol Suite 24

TCP/IP Protocol Suite 25

TCP/IP Protocol Suite 26 Figure Connection establishment

TCP/IP Protocol Suite 27 Figure Message transfer

TCP/IP Protocol Suite 28 Figure Connection termination

TCP/IP Protocol Suite 29 Let us see how we can directly use SMTP to send an and simulate the commands and responses we described in this section. We use TELNET to log into port 25 (the well-known port for SMTP). We then use the commands directly to send an . In this example, is sending an to himself. The first few lines show TELNET trying to connect to the adelphia mail server. Example Example 23.1 After connection, we can type the SMTP commands and then receive the responses as shown below. We have shown the commands in black and the responses in color. Note that we have added for clarification some comment lines, designated by the “ = ” sign. These lines are not part of the procedure.

TCP/IP Protocol Suite 30 Example Example 19.1 Continued

TCP/IP Protocol Suite MESSAGE ACCESS AGENT The first and the second stages of mail delivery use SMTP. However, SMTP is not involved in the third stage because SMTP is a push protocol; it pushes the message from the client to the server. In other words, the direction of the bulk data (messages) is from the client to the server. On the other hand, the third stage needs a pull protocol; the client must pull messages from the server. The direction of the bulk data are from the server to the client. The third stage uses a message access agent.

TCP/IP Protocol Suite 32 Topics Discussed in the Section POP3 IMAP4

TCP/IP Protocol Suite 33 Figure Pop3 and IMAP4

TCP/IP Protocol Suite 34 Figure Pop3

TCP/IP Protocol Suite MIME Electronic mail has a simple structure. Its simplicity, however, comes with a price. It can send messages only in NVT 7-bit ASCII format. In other words, it has some limitations. Multipurpose Internet Mail Extensions (MIME) is a supplementary protocol that allows non- ASCII data to be sent through . MIME transforms non-ASCII data at the sender site to NVT ASCII data and delivers it to the client MTA to be sent through the Internet. The message at the receiving site is transformed back to the original data.

TCP/IP Protocol Suite 36 Topics Discussed in the Section MIME Headers

TCP/IP Protocol Suite 37 Figure MIME

TCP/IP Protocol Suite 38 Figure MIME header

TCP/IP Protocol Suite 39

TCP/IP Protocol Suite 40

TCP/IP Protocol Suite 41 Figure Base64

TCP/IP Protocol Suite 42

TCP/IP Protocol Suite 43 Figure Quoted printable

TCP/IP Protocol Suite WEB-BASED MAIL is such a common application that some websites today provide this service to anyone who accesses the site. Three common sites are Hotmail, Yahoo, and Google. The idea is very simple. Let us go through two cases:

TCP/IP Protocol Suite 45 Topics Discussed in the Section Case I Case II

TCP/IP Protocol Suite 46 Figure Web-based , case 1

TCP/IP Protocol Suite 47 Figure Web-based , case 2