Sending Emails using Oracle XML DB
In this section, we will enable sending customized emails to selected contacts from the APEX application.
Creating an Email Template
The email content is defined via an email template in XML. The following XML document is an example email template (xmlbook_ann_tpl.xml):
<email_template>
<attachment>
<imageContent baseurl=“http://localhost:8081/public/chp17/event/ xmlbook_ann”>
<image id=“001”>book_cover.jpg</image>
<image id=“002”>learnmore.gif</image>
</imageContent>
<attachedContent>
<file>sample_chapter.pdf</file>
</attachedContent>
</attachment>
<xsl_content>
<xsl:stylesheet version=“1.0” xmlns:xsl=“http://www.w3.org/1999/XSL/ ...
Get Oracle Database 11g Building Oracle XML DB Applications 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.