O'Reilly logo

Expert Oracle and Java Security: Programming Secure Oracle Database Applications with Java by David Coffin

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

Get Oracle Database to Send E-Mail

Our two-factor authentication will primarily contact pagers and cell phones and not send the pass code to a user’s e-mail account. However, we are going to have the e-mail option. Also, the easiest way to send messages to commercial cell phones is by using the cell phone providers’ short message service (SMS), texting hosts that often accept e-mail messages bound for the cell phones. So we are going to implement e-mail from Oracle database.

Oracle database provides a package called UTL_MAIL that enables us to send e-mail from the database. We will implement that; although, we could also load a Java class to send e-mail, and configure it to execute from a Java stored procedure. Perhaps we would use the JavaMail ...

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