Servlet & JSP 教學手冊第二版 - 第 11 章:簡介 JavaMail
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Servlet & JSP 教學手冊第二版 - 第 11 章:簡介 JavaMail

on

  • 1,137 views

Servlet & JSP 教學手冊第二版

Servlet & JSP 教學手冊第二版

Statistics

Views

Total Views
1,137
Views on SlideShare
1,137
Embed Views
0

Actions

Likes
0
Downloads
89
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Servlet & JSP 教學手冊第二版 - 第 11 章:簡介 JavaMail Presentation Transcript

  • 1. CHAPTER 11• 簡介JavaMail 學習目標 • 寄送純文字郵件 • 寄送HTML郵件 • 寄送附檔郵件
  • 2. 傳送純文字郵件• 下載JavaMail程式庫: – http://www.oracle.com/technetwork/java/javamail/in dex.html• JavaBeans Activation Framework(JAF)中的 activation.jar – http://www.oracle.com/technetwork/java/javase/dow nloads/index-135046. html
  • 3. 傳送純文字郵件• 建立Session物件
  • 4. 傳送純文字郵件• 建立Message物件• 傳送
  • 5. 傳送多重內容郵件• 郵件內容包括HTML內容
  • 6. 傳送多重內容郵件• 要附加檔案的話,可以如下建立 MimeBodyPart,設定檔名與內容之後,再 加入MultiPart之中