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 who register with the service.

Today's lesson covers the following topics:

  • Understanding e-mail systems, formats, and protocols

  • Creating and sending plain text e-mail messages

  • Creating and sending multi-media e-mail messages

  • Sending e-mail messages with attachments

  • Retrieving e-mail messages and attachments

  • Deleting e-mail messages on the server

  • Authenticating users and security

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.220.88.62