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 ...

Get Expert Oracle and Java Security: Programming Secure Oracle Database Applications with Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.