1、 I 摘摘 要要 电子邮件(E-mail)服务作为 Internet 上应用最多和最广的服务项目,在网络 中起到非常重要的作用。如同其他的网络服务,电子邮件系统也有其使用的传 输协议,包括简单邮件传输协议 (SMTP, Simple Mail Transfer Protocol)、邮局协 议(POP, Post Office Protocol)等这些应用于电子邮件发送和接收的协议。 首先我们设计了 E-mail 客户端管理程序的总体框架,在不打开用户邮箱主 页情况下,可以实现接收邮箱中的邮件及向其他邮箱发送信件的功能;其次以 SMTP、 POP3 协议为研究对象, 按照 SMTP、 POP3
2、协议通过套接字发送 SMTP、 POP3 命令,并使用 MD5 散列算法进行加密传输,接收并处理邮件服务器的反 馈信息;然后利用在 Microsoft Visual Studio .NET 2003 编程环境下实现 SMTP、 POP3 协议的功能,开发出一个既简单又实用的具有发送和接收功能的 E-mail 客户端程序;最后,通过实测表明,本论文开发出的 E-mail 客户端程序达到了 预期设计的目标。 关键词关键词:SMTP/POP3 协议,MD5 散列算法,邮件客户端 II Abstract E-mail service as the most widely used in the Int
3、ernet and the most extensive services in the network play a very important role. As with other network services, e-mail system also has the use of transmission protocols, including Simple Mail Transfer Protocol (SMTP), Post Office Protocol (POP) and so they used the protocol to send and receive e-ma
4、il. First, we designed the E-mail client the overall framework of management procedures, without opening the home page under the users mailbox, the mailbox can be achieved to receive mail and send letters to other mail functions; followed by the SMTP, POP3 protocol for the study, in accordance with the SMTP, POP3 protocol through a socket to send SMTP, POP3 commands, and use the MD5 hashing algorithm to encrypt transmission, receiving and processing feedback from