



全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
一个简单的电子邮件服务器 Given that you have an e-mail client on your machine, you are ready to send and receive e-mail.既然你有你的机器上的电子邮件客户端,您就可以发送和接收电子邮件。 All that you need is an e-mail server for the client to connect to.所有你需要的是一个客户端连接到电子邮件服务器。 Lets imagine what the simplest possible e-mail server would look like in order to get a basic understanding of the process.让我们想象一下最简单的电子邮件服务器看起来像什么,为了得到一个基本的了解的过程。 Then we will look at the real thing.然后我们将看看真实的东西。 If youve read How Web Servers Work , then you know that machines on the Internet can run software applications that act as servers .如果您读过Web服务器工作原理 ,那么你知道,在互联网上的机器可以运行应用软件, 如服务器行为。 There are Web servers, FTP servers, telnet servers and e-mail servers running on millions of machines on the Internet right now.有Web服务器,FTP服务器,Telnet服务器和电子邮件服务器现在运行在互联网上的机器上百万。 These applications run all the time on the server machine and they listen to specific ports , waiting for people or programs to attach to the port.这些应用程序在服务器计算机上运行所有的时间和他们收听到特定端口 ,等待人或程序附加到端口。 The simplest possible e-mail server would work something like this:最简单的e - mail服务器的工作是这样的: 1. It would have a list of e-mail accounts, with one account for each person who can receive e-mail on the server.这将有一个电子邮件帐户,一个每个人都可以接收电子邮件在服务器上的帐户。 My account name might be mbrain , John Smiths might be jsmith , and so on.我的帐户名可能mbrain,约翰史密斯的可能jsmith的 ,依此类推。 2. It would have a text file for each account in the list.它会在列表中为每个帐户的文本文件。 So, the server would have a text file in its directory named MBRAIN.TXT, another named JSMITH.TXT, and so on.因此,服务器会在MBRAIN.TXT,另一名为JSMITH.TXT其目录中的一个文本文件,等等。 3. If someone wanted to send me a message, the person would compose a text message (Marshall, Can we have lunch Monday? John) in an e-mail client, and indicate that the message should go to mbrain.如果有人想给我发送消息,该人将组成一个电子邮件客户端的文本消息(“马歇尔,才能有午餐周一约翰?”),并注明消息应该去mbrain。 When the person presses the Send button, the e-mail client would connect to the e-mail server and pass to the server the name of the recipient (mbrain), the name of the sender (jsmith) and the body of the message.当人按下“发送”按钮,电子邮件客户端连接到电子邮件服务器,并传递给服务器的收件人(mbrain),发件人(jsmith的)的名称和邮件正文的名称。 4. The server would format those pieces of information and append them to the bottom of the MBRAIN.TXT file.服务器将这些信息的格式和它们附加到的MBRAIN.TXT文件底部。 The entry in the file might look like this:该文件中的条目可能看起来像这样: From: jsmith To: mbrain Marshall, Can we have lunch Monday?来自:jsmith的:mbrain马歇尔,才能有午餐周一? John约翰 There are several other pieces of information that the server might save into the file, like the time and date of receipt and a subject line; but overall, you can see that this is an extremely simple process.有几个其他信息,该服务器可能保存到的文件,如收据和主题行的时间和日期,但总体而言,你可以看到,这是一个非常简单的过程。 Well look at the SMTP server in the next section.在下一节,我们将看看在SMTP服务器。 每天,互联网的公民发送电子邮件对方数十亿美元。 If youre online a lot, you yourself may send a dozen or more e-mails each day without even thinking about it.如果你在网上很多,你可以发送一打或更多的电子邮件每一天,甚至没有思考它。 Obviously, e-mail has become an extremely popular communication tool.显然,电子邮件已经成为一个非常流行的通讯工具。 Have you ever wondered how e-mail gets from your computer to a friend halfway around the world?你有没有想过如何从您的计算机获取电子邮件到半路世界各地的的朋友吗? What is a POP3 server, and how does it hold your mail?什么是POP3服务器,以及它是如何保持您的邮件? The answers may surprise you, because it turns out that e-mail is an incredibly simple system at its core.这些问题的答案可能会让你大吃一惊,因为事实证明,电子邮件是一个令人难以置信的简单的系统,其核心。 In this article, well take an in-depth look at e-mail and how it works.在这篇文章中,我们将采取电子邮件的深入了解,以及它是如何工作的。 An E-mail Message一个电子邮件 According to Darwin Magazine: Prime Movers, the first e-mail message was sent in 1971 by an engineer named Ray Tomlinson.据达尔文杂志:原动机,在1971年的第一个电子邮件消息被发送,由一名工程师雷汤姆林森。 Prior to this, you could only send messages to users on a single machine.在此之前,你可以只发送消息给用户,一台机器上。 Tomlinsons breakthrough was the ability to send messages to other machines on the Internet, using the sign to designate the receiving machine.汤姆林森的突破是在互联网上发送消息到其他机器的能力,使用符号来指定接收设备。 An e-mail message has always been nothing more than a simple text message - a piece of text sent to a recipient.一个电子邮件一直没有什么比一个简单的文本消息-某一段文字,发送到收件人。 In the beginning and even today, e-mail messages tend to be short pieces of text, although the ability to add attachments now makes many messages quite long.在开始,即使在今天,电子邮件往往要短文本,添加附件的能力虽然很长,使得许多消息。 Even with attachments, however, e-mail messages continue to be text messages - well see why when we get to the section on attachments.然而,即使带有附件的电子邮件继续将文字信息 -我们将看到为什么当我们到了附件。 E-mail Clients电子邮件客户端 Youve probably already received several e-mail messages today.您可能已经收到了一些电子邮件。 To look at them, you use some sort of e-mail client .看看他们,你使用某种电子邮件客户端 。 Many people use well-known, stand-alone clients like Microsoft Outlook, Outlook Express, Eudora or Pegasus.许多人使用知名的,如微软的Outlook时,Outlook Express,Eudora或飞马独立客户端。 People who subscribe to free e-mail services like Hotmail or Yahoo use an e-mail client that appears in a Web page .订阅免费电子邮件服务如Hotmail或Yahoo的人使用电子邮件客户端,在出现的网页。 If youre an AOL customer, you use AOLs e-mail reader.如果你是一个AOL的客户,您可以使用AOL的电子邮件阅读。 No matter which type of client youre using, it generally does four things:无论你使用的客户端类型,一般做四件事: Shows you a list of all of the messages in your mailbox by displaying the message headers .您显示您的邮箱中所有邮件显示邮件头列表。 The header shows you who sent the mail, the subject of the mail and may also show the time and date of the message and the message size.标题显示你是谁发送的邮件,邮件的主题,还可以显示时间和日期的消息和邮件的大小。 Lets you select a message header and read the body of the e-mail message.让您选择邮件头和读取电子邮件消息正文。 Lets you create new messages and send them.让你创造新的消息,并将它们发送。 You type in the e-mail address of the recipient and the subject for the message, and then type the body of the message.您输入的e - mail地址,收件人和邮件的主题,然后键入邮件正文。 Lets you add attachments to messages you send and save the attachments from messages you receive.可让您将附件添加到您发送和保存您收到的邮件附件的邮件。 Sophisticated e-mail clients may have all sorts of bells and whistles, but at the core, this is all that an e-mail client does.先进的电子邮件客户端可能有各种花里胡哨,但为核心,这是所有电子邮件客户端。 电子邮件工作原理为了有效地使用Internet的电子邮件,这一节介绍有关电子邮件如何工作的知识。理解电子邮件工作的最简单的方法是把电子邮件的传送过程同邮局传送邮件的过程相比较。使用电子邮件发送的邮件类似于邮局的信件,信封上的地址类似于电子邮件的信息头。电子邮件的信息头是指发送者和接收者的地址。当发送信件时,用户不需要了解传送信件具体经过的邮局信息,同样,在使用电子邮件发送邮件时,用户也不需要告诉邮件如何到达接收者,只需指定接收者的地址。Internet上的计算机自动完成邮件在Internet上的传输,有两点略作说明。1存储转发(Store and Forward)电子邮件是一种存储转发系统。这意味着用户User1发送的邮件需经过A、B、C、D、E、F计算机的存储转发最终到达用户User2。例如,假设用户User1要发送邮件给用户User2,则发送的具体过程为:用户User1发送邮件给用户User2,Internet上的计算机A接收到该邮件,经过地址识别后,选择一个合适的传送路径,转发给B,依次转发,最终转发给计算机F,计算机接收到邮件后,发送给用户User2,就完成了邮件的传送过程。那么,在这一传送邮件的过程中,存储转发是如何体现的呢?首先Internet上某计算机接收到邮件(存储)之后,该计算机经过地址识别,选择最佳路径发送到下一个Internet上的计算机(转发),直到到达目的地址。这就是存储转发的基本思想。这里还需要清楚一点:当用户把邮件发送出去后,就可以退出发送过程,即不必等待邮件真正到达目的地。2电子邮件地址在前面介绍了Internet地址的结构,电子邮件的每一个地址由两部分组成:用户名和域名,即用户名域名,例如,的格式,即为Internet上的电子邮件地址。这正是用户发送电子邮件时所需使用的地址的格式。这些地址(包括接收者和发送者的地址)组成了邮件头,它类似于信封上的地址信息。使用电子邮件进行信息传送时,经常出现的问题是发送邮件的目的地址错误。如果有一个电子邮件的返回信息是该邮件不能被传送,则说明接收者的地址错误。在这种情况下应该核对该地址,必要时需要跟对方联系以取得正确的地址。3POP3POP的全称是 Post Office Protocol,即邮局协议,用于电子邮件的接收,它使用TCP的110端口。现在常用的是第三版,所以简称为POP3。POP3仍采用Client/Server工作模式,Client被称为客户端,一般我们日常使用计算机都是作为客户端,而Server(服务器)则是网管人员进行管理的。举个形象的例子,Server(服务器)是许多小信箱的集合,就像我们所居住楼房的信箱结构,而客户
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年初识创业投资风险评估与决策试题集
- 2025年中国民间传统手工艺制作教程及题库
- 2025年国际贸易实务操作模拟考试题库及解析
- 2025年CCD光电荷耦合二极管及其组件项目建议书
- 2025年建筑防水卷材及制品合作协议书
- 报关业务知识培训通知课件
- 2025年全自动变焦照相机项目合作计划书
- 2025年手工制纸及纸板合作协议书
- 抢救车药品管理规范课件
- 2025年物理治疗康复设备合作协议书
- etap学习帮助-chapter17保护视图star
- 少年中国说五线谱乐谱
- 国际公法学-第三章国际法与国内法的关系
- 广东广州市番禺区教育局招考聘用公办中小学临聘教师17人(必考题)模拟卷
- 华泰证券营业网点装修标准五种类型汇总效果图设计方案
- 工程回访及客户满意度表最新文档
- (高职)企业财务会计电子课件完整版PPT全书电子教案
- T∕CHAS 10-4-13-2020 中国医院质量安全管理 第4-13部分:医疗管理住院患者健康教育
- VTE的预防与治疗(课堂PPT)
- 第五章 新型化学纤维
- 建筑结构及选型
评论
0/150
提交评论