JavaMail API (Paperback)

Elliotte Rusty Harold

相關主題

商品描述

Send and receive email from Java applications by using the JavaMail API. With this concise book, you’ll learn how to communicate with existing SMTP, POP, and IMAP servers, and how to write your own.

Whether you need to build an email-centric application like a mailing list manager or simply add email notification to a larger product, JavaMail is the answer. Packed with code examples, this book shows you how JavaMail enables you to avoid low-level protocol details, so you can focus on what you actually want to say in a message.

  • Send, receive, and store email with POP3 and IMAP
  • Add password authentication to your programs
  • Manage mailboxes and accounts
  • Download mail attachments
  • Respond to asynchronous email events
  • Design protocol-independent email programs

商品描述(中文翻譯)

使用JavaMail API可以在Java應用程式中發送和接收電子郵件。這本簡明的書籍將教你如何與現有的SMTP、POP和IMAP伺服器進行通信,以及如何撰寫自己的伺服器。

無論你需要建立一個以電子郵件為中心的應用程式,例如郵件列表管理器,或者只是將電子郵件通知添加到一個更大的產品中,JavaMail都是答案。這本書充滿了程式碼範例,展示了JavaMail如何讓你避免處理低層級協議細節,讓你可以專注於在郵件中實際想要表達的內容。

本書包含以下內容:
- 使用POP3和IMAP發送、接收和儲存電子郵件
- 將密碼驗證添加到你的程式中
- 管理郵箱和帳戶
- 下載郵件附件
- 回應非同步電子郵件事件
- 設計獨立於協議的電子郵件程式