摘要电子邮件在现在社会中扮演了一个相当重要的角色,使用它的人数势必会越来越多。现在已经开发了很多的邮件收发软件例如FoxMail ,它们的功能已经十分强大。本毕业设计利用SMTP协议和POP协议以及一些相关知识设计了一个简单的电子邮件客户端。SMTP全称是简单邮件传输协议,它是用来发送邮件的。POP全称是邮局协议,它是用来接收邮件的。
本电子邮件客户端的开发语言是用的C++,工具是MFC及ACCESS,主要功能有:用户管理(添加、删除用户、更改当前用户),邮箱管理(草稿箱查看、删除和发送、已发送邮箱查看和删除),操作(发送可带附件的邮件、接收邮件),联系人管理(添加、删除联系人、选择联系人)。所有的邮件都存放本地的access数据库中。收到的附件默认存放在工程目录下的附件文件夹中,用户查看邮件时可以点击附件另存为按钮,将其保存至用户指定的位置。10401
关键词 电子邮件 协议 电子邮件客户端
毕业设计说明书(论文)外文摘要
Title E-mail client Design and Implementation
Abstract
E-Mail play a very important role in modern times. the number of people who have used E-mail will be larger and larger. There are a lot of software for sending and receiving letters such as FoxMail , They have powerful features .So I develop a simple E-mail client whoes function is relatively simple with the rock-bottom protocol of SMTP and POP and some related knowledge .The full name of SMTP is Simple Mail Transfer Protocol.It is used to send letters.The full name of POP is Post Office Protocol.It is used to receive letters.
This E-mail client has used the c++ as the development of language ,and used the MFC and ACCESS as the development of tool.It includes the functions: User Management(add and delete user,set current user), MailBox Management(Draft Box read mail、delete mail and send mail again, Sent Box read mail and delete mail), Option(send mail with attachment and receive mail),Contact Management( add and delete contacts, Select Contacts), All mail is stored in access database on the local computer. Attachments default stored in the system directory under the project folder in the attachment, users can click the Attachment Save As button to save the attachment to a user specified location.
Keywords E-mail Protocol E-mail client
目 录
1 引言 1
1.1 电子邮件的相关介绍 1
1.2 电子邮件的传输 2
1.3 电子邮件客户端的优点 2
2 电子邮件客户端的开发语言和技术 3
2.1 RFC822简介 3
2.2 SMTP协议 4
2.2.1 SMTP简介及其模型 4
2.2.2 SMTP命令描述和应答码 5
2.3 POP3协议 7
2.3.1 POP3协议简介 7
2.3.2 POP3的命令 8
2.4 jmail.dll 9
2.4.1 jmail的简介 9
2.5 MFC和ACCESS 10
2.5.1 MFC概述 10
2.5.2 对话框 11
2.5.2 ACCESS的优点 11
2.6 电子邮件客户端开发和运行环境 11
2.6.1 开发环境 11
2.6.2 运行环境 11
3 电子邮件客户端系统设计 12
3.1 系统总框架 12
3.2 程序功能描述 12