Application Express User's Guide > Oracle Application Express ... > HTMLDB_MAIL
HTMLDB_MAIL |
Previous |
Next |
You can use the HTMLDB_MAIL
package to send an email from an Oracle Application Express application. This package is built on top of the Oracle supplied UTL_SMTP
package. Because of this dependence, the UTL_SMTP
package must be installed and functioning in order to use HTMLDB_MAIL.
See Also: Oracle Database PL/SQL Packages and Types Reference for more information about the UTL_SMTP package |
HTMLDB_MAIL
contains two procedures. Use HTMLDB_MAIL.SEND
to send an outbound email message from your application. Use HTMLDB_MAIL.PUSH_QUEUE
to deliver mail messages stored in HTMLDB_MAIL_QUEUE
.
Topics:
Note: The most efficient approach to sending email is to create a background job (using a DBMS_JOB package) to periodically send all mail messages stored in the active mail queue. |