13.4. Working with the JavaMail API

JavaMail provides a set of interfaces to mail protocol implementations. Once you've mastered the basic concepts and interfaces, you'll be able to write applications that work with any protocol for which an implementation is available.

Below are some of the important classes that form the core of the JavaMail API, as well as the methods offered by these classes. The JavaMail API is extensive, and a first review of it can be overwhelming. Readers should not be concerned with the details of every method; a preliminary examination will provide a sufficient idea of how they work. The methods can be referred back to as necessary.

13.4.1. Address Class

The Address class represents an Internet messaging address, as ...

Get Java™ Network Programming and Distributed Computing 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.