JavaMail architecture is divided into three parts. Application layer, JavaMail API and Implementation layer. It uses various protocols to create e-mail client application.
Application Layer - It uses JavaMail API to communicate with the e-mail client application.
- JavaMail API - Collection of classes and interfaces used to support e-mail client application functionality.
- Implementation Layer - Uses various protocols to transfer messages between e-mail cleant and server.