Run:
  data_in_html_and_email.jsp

View:
data_in_html_and_email.jsp
viewdata.jsp
 
 
 

XML DOM object caching & sendmail tag 

This example demonstrates the use of XML DOM object caching and sendmail tag with XML data generated from dbQuery tag. The XML data is transformed with different XSL styles to present in HTML or plain text email. Try to run the demo several times during consecutive 2 minutes and watch the change of the timestamp which is generated as part of the result.

Database connection string and SMTP host name need to be setup to run this example.