O'Reilly logo

Sams Teach Yourself J2EE™ in 21 Days by Peter Roxburgh, Andy Longshaw, Debbie Law, Dan Haywood, Martin Bond

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required