Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Upcoming SlideShare
Servlet & JSP 教學手冊第二版 - 第 5 章:Servlet 進階 API、過濾器與傾聽器
Next
Download to read offline and view in fullscreen.

1

Share

Download to read offline

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

Download to read offline

Servlet & JSP 教學手冊第二版

Related Books

Free with a 30 day trial from Scribd

See all

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

  1. 1. CHAPTER 11• 簡介JavaMail 學習目標 • 寄送純文字郵件 • 寄送HTML郵件 • 寄送附檔郵件
  2. 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. 3. 傳送純文字郵件• 建立Session物件
  4. 4. 傳送純文字郵件• 建立Message物件• 傳送
  5. 5. 傳送多重內容郵件• 郵件內容包括HTML內容
  6. 6. 傳送多重內容郵件• 要附加檔案的話,可以如下建立 MimeBodyPart,設定檔名與內容之後,再 加入MultiPart之中
  • clivelee10

    May. 8, 2017

Servlet & JSP 教學手冊第二版

Views

Total views

1,663

On Slideshare

0

From embeds

0

Number of embeds

3

Actions

Downloads

198

Shares

0

Comments

0

Likes

1

×