1、 电电 子子 邮邮 件件 客客 户户 端端 软软 件件 设设 计计 学学 院:信息工程学院院:信息工程学院 专专 业:电子信息工程业:电子信息工程 姓姓 名:名: XXX 学学 号:号: XX 指导教师:指导教师: XXX 完成时间:完成时间:2012 年年 6 月月 18 日日 二一二年六月二一二年六月 摘 要 随着计算机网络技术的发展,电子邮件被大量使用,由于 Web 电子邮箱需要浏览 器支持,不能存贮本地附件等缺点,开发本地邮件收发系统成为一种趋势。 论文首先从电子邮件的传输、 邮件服务器、 邮件的存储转发分析了电子邮件系统, 然后详细研究了 SMTP/POP3协议的工作原理和会话过程,
2、在此基础上,最终实现了一 个基于 SMTP/POP3的邮件收发系统。邮件的发送和文件的上传采用了 SMTP 协议;邮 件的接收和文件的下载则采用了 POP3协议。另外,邮件的收发和文件的上下载都使 用了 MIME 编解码技术。整个系统是在 Delphi7开发环境下主要利用 IdSMTP、IdPOP3 和 IdMessage 等组件实现的。 系统具有响应快、容易管理、可扩展、低成本等特点,经测试表明,系统各部分 能够正常工作,满足邮件收发、文件上下载的需要。 关键词:电子邮箱,收发邮件,SMTP/POP3,Delphi7 ABSTRACT With the development of comp
3、uter network technology and the widely uses of e-mails, to exploit a local system of sending/receiving e-mails has become a trend because of the disadvantages of Web e-mail box which is slow to respond. This thesis firstly analyses the e-mail system from the perspectives of transmitting e-mails, e-m
4、ail server, e-mail storage and forwarding. After that, studies the working principles and conversational process of SMTP/POP3 protocol in detailed, on the basis of which, finally realizes the network storage system. the SMTP protocol to send e-mails and upload documents; and the POP3 protocol to receive e-mails and download documents. In addition, it uses the codes and decodes of MIME both to send/receive e-mails and upload/download documents. In a word, the whole system is realized unde