基于cs的电子邮件简单收发系统设计与实现

  • 格式:doc
  • 大小:1.10 MB
  • 文档页数:29

下载文档原格式

  / 7
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

基于C/S的电子邮件简单收发系统设计与实现

摘要

电子邮件作为互联网中交换信息广泛的通信工具之一,如今都已被广大用户接受。早期的电子邮件只是从一个计算机终端向另外一个计算机终端传送文本信息,而现在的电子邮件不仅可以发送文本信息,还可以传送声音、图片、文档等多种信息。很多邮件邮件客户端软件不断地被用户利用起来,例如outlook, Foxmail,但是这些邮件客户端对于很多用户来说却过于复杂。

为了方便用户快捷地收发邮件,本课题利用SMTP协议和POP3协议,经过前期对系统的需求分析和对相关协议的了解,设计并实现了简单的电子邮件收发系统。为了保证本系统功能的完整性,在实现该系统过程中,设计了邮件用户注册模块,当用户首次使用本系统时,须注册一个邮件账号,然后才能进行其他的操作。作为一个电子邮件客户端,邮件的发送与收取是其核心功能,本系统邮件发送块实现电子邮件的发送,支持邮件的单个发送和群发,在邮件收取块,实现了电子邮件的简单收取。另外还增加了地址薄管理块让用户更方便地管理自己的联系人,对联系人进行添加、修改、删除等。

关键词:电子邮件;SMTP;POP3;邮件收发系统

Design and Implementation of Simple Email Receiving and Sending System Based on C/S

Abstract

Email is the communication tool which is widely used in the internet to exchange information. Now it has been accepted by many people. In the early days, email is only used in transmitting pure text information from a computer terminal to another. But at present, it is not limited in this, it can support many types of information, such as voice, picture, document and so on. Much software has been used by users. such as Outlook, Foxmail and so on. But they are too complex to many users.

In order to send and receive email conveniently, a simple email sending and receiving system has been designed based on SMTP and POP3 protocol after requirement analysis and protocols learning. To prove integrality of the system, the block of accounts registering is necessary. When using this system first time, users should register one account. It has the kernel function of sending and receiving email. In the block of sending email, group sending is supported. In addition, there is an address management block.

Key words:E-mail; SMTP; POP3; Mail Receiving and Sending System

目录

1 引言 (2)

1.1邮件客户端相关介绍 (2)

1.2课题背景 (2)

1.3现状分析 (2)

2 电子邮件相关协议 (3)

2.1RFC822邮件格式 (3)

2.2SMTP协议 (3)

2.2.1SMTP协议简介 (3)

2.2.2SMTP的命令与应答 (4)

2.3POP3协议 (6)

2.3.1POP3协议简介 (6)

2.3.2POP3的命令和应答 (7)

3 系统需求分析 (8)

3.1功能需求 (8)

3.1.1邮件发送需求 (9)

3.1.2邮件接收需求 (9)

3.1.3附加功能需求 (9)

3.2研究思路 (9)

3.2.1用户注册块 (9)

3.2.2邮件发送块 (9)

3.2.3邮件接收块 (9)

3.2.4地址薄管理块 (9)

4 系统总体功能模块和系统总体流程 (9)

4.1系统总体功能模块 (9)

4.2系统流程 (10)

5 系统功能实现 (10)

5.1新建账号模块 (10)

5.1.1模块功能 (10)

5.1.2核心实现 (10)

5.1.3运行界面 (11)

5.2发送邮件模块 (12)

5.2.1模块功能 (12)

5.2.2核心实现 (12)

5.2.2运行界面 (16)

5.3接收邮件模块 (17)

5.3.1模块功能 (17)

5.3.2核心实现 (17)

5.3.3运行界面 (17)

5.4地址薄模块 (18)

5.4.1模块功能 (18)

5.4.2核心实现 (18)

5.4.3运行界面 (22)

6 系统功能测试 (22)

6.1发送邮件测试 (22)

6.2接收邮件测试 (23)

6.3地址薄管理测试 (24)

6.4测试结果 (25)

结论 (25)