O'Reilly logo

Java 9 Recipes: A Problem-Solution Approach, Third Edition by 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

© Josh Juneau 2017

Josh Juneau, Java 9 Recipes, 10.1007/978-1-4842-1976-8_19

19. E-mail

Josh Juneau

(1)Hinckley, Illinois, USA

E-mail notification is an integral part of today’s enterprise systems. Java enables e-mail notification by offering JavaMail 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 JavaMail API to check an IMAP or POP3 mailbox.

To follow along with the recipes in this chapter, make sure that you have set up your firewall to allow e-mail communication. Most of the time, firewalls allow outbound communications to e-mail servers without an issue, but if you are running your own local SMTP (e-mail) server, you may need to configure your ...

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