O'Reilly logo

Java 7 Recipes: A Problem-Solution Approach by Carl Dea, John O'Conner, Freddy Guime, Josh Juneau

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

C H A P T E R  21

image

E-mail

E-mail notification is part of today's enterprise systems. Java enables e-mail notification by offering its Mail API. Using this API you can send e-mail communications in response to an event (say a completed form or a finalized script). You can also use the Email API to check an IMAP or POP3 mailbox. In all, sending and receiving e-mail using the Email API has become pretty straightforward.

For the recipes in this chapter, please make sure that you have set up your firewall to allow e-mail communication; most of the time, firewalls will allow outbound communications to e-mail servers without an issue, but if you are ...

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