Day 11. JavaMail

In Day 9, “Java Message Service,” and Day 10, “Message-Driven Beans,” you learned about the Java Messaging Service and Message-driven beans. These technologies allow you to write code that provides application-to-application communication. Today's lesson looks at how you can provide application-to-human communication through the use of e-mail.

Today you learn how e-mail systems work and how the JavaMail API models these systems. You will then explore the API's main classes and see how to use these to provide typical day-to-day e-mail functionality, such as sending attachments and deleting messages. Finally, you will have the opportunity to expand on the case study you have been developing so that it sends e-mail messages to people ...

Get Sams Teach Yourself J2EE™ in 21 Days 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.