簡易電子郵件系統的開發

才智咖 人氣:2.72W
畢業論文

  簡易電子郵件系統的開發
 目   錄
前言 1
1課題研究背景及國內外現狀 2
1.1 電子郵件產生的背景 2
1.2 國內外研究現狀 3
1.3 本文作的主要工作 4
2應用系統開發理論基礎 5
2.1 JavaMail API介紹 5
2.2 JavaMail體系結構 5
2.3 JavaMail核心成員 6
2.3.1 Session類 7
2.3.2 Message類 7
2.3.3 Address類 8
2.3.4 Transport類 9
2.3.5 Store與Folder類 9
2.4 E-mail協議概述 10
2.4.1 SMTP協議 10
2.4.2 POP3協議 11
2.5系統環境設定 11
2.5.1設定JavaMail1.1.3 11
2.5.2設定JDK1.5.0 11
2.5.3設定JAF 12
2.6 Java Apache郵件伺服器 12
2.7 Tomcat概述 14
2.8 JSP技術原理 15
3 需求分析 16
3.1 本次設計的目的 16
3.2 應用程式的開發步驟 16
3.3 使用者需求階段 16
3.4 軟體需求階段 16
3.5 設計階段 17
3.6 編寫程式程式碼 17
3.7 測試與確認階段 17
4 總體設計 18
4.1 模組分析 18
4.1.1 系統功能框架 19
4.2 收郵件操作的實現 19
4.2.1連線POP3伺服器 19
4.2.2得到郵件物件陣列 20
4.2.3檢視指定郵件的資訊 20
4.2.4 刪除指定郵件 21
4.3 發郵件操作的實現 21
4.3.1 連線SMTP伺服器 21
4.3.2 設定郵件的相關資訊 22
4.3.3 傳送郵件 22
5 電子郵件系統應用程式設計 23
5.1 使用者登入的實現 24
5.2 接收郵件的實現 27
5.3 檢視郵件的實現 30
5.4 刪除郵件的實現 33
5.5 傳送郵件的實現 35
結束語 38
參考文獻 39
致謝 40

     
                                         
摘 要:電子郵件系統是目前Internet上使用最廣泛的服務之1。為了極大地方便上網使用者,將E-mail系統和Web應用結合起來,通過瀏覽器Tomcat訪問郵件系統,使使用者不進行任何的系統設定,僅開啟瀏覽器訪問郵件伺服器的Web站點使得在製作合同管理系統時使用了最新的B/S技術來進行開發。避免了原有的'C/S結構開發所帶來的弊端。就可以實現郵件系統的基本功能:使用者登入、郵件收取、郵件傳送、檢視郵件、郵件的維護功能。
本論文是基於JavaMail的電子郵件系統的實現。第1章介紹電子郵件的開發背景及國內外現狀,第2章介紹應用系統開發理論基礎,第3章介紹需求分析,第4章介紹電子郵件系統功能模組,第5章介紹電子郵件系統設計分析及實現。
關鍵字:JavaMail;郵件伺服器;協議;郵件系統;JSP

The Development of Simple Email System

                              
Abstract:The E-mail system is on present Internet uses one of most widespread services. In order to enormously facilitates accesses the net the user, unifies the E-mail system and the Web application,through the browser Tomcat visit mail system, causes the user not to carry on any system establishment, only opened the browser visit server the Web stand caused when the manufacture contract management system uses the newest B/S technology to carry on the development. Has avoided the malpractice which the original C/S structure development brings. May realize the mail system basic function: The user registers, the mail gathers, mail transmission, examination mail, mail maintenance function.
   The present paper is based on the JavaMail E-mail system realization. First chapter introduction email development background and domestic and foreign present situations, second chapter of introduction application system development rationale, third chapter of introduction demand analysis, fourth chapter of introduction electronic mail system function module, fifth chapter of introduction electronic mail system design analysis and realization
Keywords:JavaMail;Server;Agreement;Mail system; JSP
前言
21世紀是網路飛速發展的時代,電子郵件已經成為熱門話題。隨著網路技術的不斷髮展,網路應用已經滲透到人類社會的各個角落。作為網路世界資訊傳輸的支撐點的電子郵件,更是人們關注的焦點。通過電子郵件無論朋友在何方,都可以通過電子郵件方便的聯絡交流,電子郵件開闢網路世界裡的1片天地。
電腦的日益普及,大大改變了各行各業的工作方式和人們的生活方式,越來越多的人開始進入到電腦的世界。電腦的普及化,進而促進了網際網路的進1步的發展和完善,而作為網際網路上基本的存在電子郵件系統給予了上網的電腦使用者另1個別樣的空間。
本次畢業設計──簡易電子郵件系統,以Java和JSP為程式語言。將E-mail系統和Web應用結合起來,通過瀏覽器訪問郵件系統,使使用者不進行任何的系統設定,僅開啟瀏覽器訪問郵件伺服器James的Web站點,就可以實現郵件系統的基本功能:使用者登入、郵件收取、郵件傳送、檢視郵件、郵件的維護功能。

簡易電子郵件系統的開發