Part I Development Tasks and Tools
1. Setting Up a Development Environment
3. Using Ant with Enterprise Server
Part II Developing Applications and Application Components
7. Using the Java Persistence API
8. Developing Web Applications
9. Using Enterprise JavaBeans Technology
10. Using Container-Managed Persistence
13. Developing Lifecycle Listeners
Part III Using Services and APIs
14. Using the JDBC API for Database Access
15. Using the Transaction Service
16. Using the Java Naming and Directory Interface
17. Using the Java Message Service
Sending and Reading Messages Using JavaMail
To Send a Message Using JavaMail
This chapter describes how to use the JavaMail API, which provides a set of abstract classes defining objects that comprise a mail system.
This chapter contains the following sections:
Note - JavaMail resources are supported only in the full Sun GlassFishEnterprise Server, not in the Web Profile.