Summary

The JavaMail package provides access to common email protocols for Java applications. This provides yet another facility for creating loosely coupled J2EE components or for simply providing an application user with access to email. In this chapter we demonstrated some of the basic facilities for using JavaMail and provided a demonstration of coding a set of convenience methods for accessing an email service with the JavaMail API.

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.