Sams Teach Yourself J2EE™ in 21 Days, Second Edition
by Martin Bond, Dan Haywood, Debbie Law, Andy Longshaw, Peter Roxburgh
Day 11. JavaMail
In Day 9, “Java Message Service,” and Day 10, “Message-Driven Beans,” you learned about the J2EE technologies that allow you to provide application-to-application communication. Today's lesson looks at how you can provide application-to-human communication in J2EE using email.
Today you will see how email systems work and how to use the JavaMail API to send and receive email. You will look at handling email attachments and expand on the Agency case study you have been developing, to send email messages to applicants and customers of the service.
Today's lesson covers the following topics:
Introduction to email systems, formats, and protocols
Using JavaMail to create and send plain text email messages
Creating and sending HTML ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access