毕业论文说明书
基于
JavaMail的邮件收发
系统设计 THE MAIL SYSTEM BASED ON JAVAMAIL DESIGN
(部): 科信
软件 2008级
专业班级:
计算机科学与技术(
网络方向)
学生: 张硕
指导教师:
2012年 3月 27 日
基于JavaMail的邮件收发系统设计
摘 要
众所周知,电子邮件在当今社会上角色之重要,应用之广泛,越来越多的人使用它,可以这样说,电子邮件充斥着我们当今每个人的生活,
工作与
学习。虽然,现在已经存在很多的邮件服务软件,但是绝大多数对于非专业人员使用起来还是有些难度稍显复杂的,因此我的
毕业设计就基于SMTP和POP3两个主要的邮件服务协议从底层开发这个软件。SMTP协议,全称为简单的邮件传输协议,主要用于邮件的发送。POP3协议,全称为邮局协议第三版,主要用于邮件的接收。本次设计是利用J2EE(STRUTS框架),
JSP,
HTML,CSS,Javascript等技术来实现一个B/S架构的邮件
管理系统。所谓B/S架构即浏览器和服务器的架构(Broswer&Server),浏览器的测试种类为广泛使用的IE6.0,而服务器则是选择了各大网站所提供的SMTP及POP3服务器,使用本系统,您不仅可以收发一个纯文本邮件,亦可以发送带有附件的邮件,而且经测试,此软件是一个可以使用不同SMTP和POP3服务器进行邮件收发的邮件管理软件。
关键词:SMTP,POP3,B\S,邮件收发系统
THE MAIL SYSTEM BASED ON JAVAMAIL DESIGN
ABSTRACT
As we all know, e-mail role in today's society the importance of wide application, more and more people use it, can be said that the e-mail flooded us today everyone's life, work and study. Although it already exists a lot of mail service software, but the vast majority of non-professional use, or some degree of difficulty is slightly complicated, so my graduation from the ground-based SMTP and POP3 are two main e-mail service agreement to develop this software. SMTP protocol, all known as the Simple Mail Transfer Protocol is mainly used for the sending of the message. POP3 protocol, all known as the Post Office Protocol version, mainly for the reception of the message. This design is the use of J2EE (the STRUTS framework), the JSP, as HTML, the CSS, Javascript, and other technology to achieve a B / S architecture, e-mail management system. The so-called B / S architecture, browser and server architecture (the Broswer & Server), the type of browser testing for the widespread use of IE 6.0, while the server is selected major
websites to provide SMTP and POP3 server, use this system, Not only can you send and receive a plain text message can also send messages with attachments, and has been tested, this software can use a different SMTP and POP3 server for mail sending and receiving e-mail management software.
KEYWORDS: SMTP, POP3, B\S , E-MAIL SYSTEM
目录
摘 要 I
ABSTRACT II
1 引言 1
1.1 电子邮件介绍 1
1.2 开发背景 2
1.3 开发环境及运行环境 2
1.3.1 开发环境 2
1.3.2 运行环境 2
2 软件架构及系统用例图 3
2.1 系统架构 3
2.2 系统总体用例 3
2.3
程序功能框图 3
2.4 发送邮件类 4
2.5 接收邮件类 4
3 SMTP和POP3协议的研究 5
3.1 SMTP协