文档介绍:Fundamentals of the JavaMail API
Presented by developerWorks, your source for great tutorials
Table of Contents
If you're viewing this document online, you can click any of the topics below to link directly to that section.
1. Tutorial tips 2
2. Introducing the JavaMail API 3
3. Reviewing related protocols 4
4. Installing JavaMail 6
5. Reviewing the core classes 8
6. Using the JavaMail API 13
7. Searching with SearchTerm 21
8. Exercises 22
9. Wrapup 32
Fundamentals of the JavaMail API Page 1
Presented by developerWorks, your source for great tutorials
Section 1. Tutorial tips
Should I take this tutorial?
Looking to incorporate mail facilities into your platform-independent Java solutions? Look no
further than the JavaMail API, which offers a protocol-independent model for working with
IMAP, POP, SMTP, MIME, and all those other Internet-related messaging protocols. With
the help of the JavaBeans Activation Framework (JAF), your applications can now be
mail-enabled through the JavaMail API.
Concepts
After completing this module you will understand the:
* Basics of the Internet mail protocols SMTP, POP3, IMAP, and MIME
* Architecture of the JavaMail framework
* Connections between the JavaMail API and the JavaBeans Activation Framework
Objectives
By the end of this module you will be able to:
* Send and read mail using the JavaMail API
* Deal with sending and receiving attachments
* Work with HTML messages
* Use search terms to search for messages
Prerequisites
Instr