JavaTM Adventure Builder Reference application - Version 1.0.1 > Configuring Mail Notifications |
The JavaTM Adventure Builder Reference application (referred to as adventure builder) also allows you to get e-mail notifications as an order goes through various stages in the workflow. This document describes the steps to configure mail notifications.
1. Setup Mailer PropertiesThe mail support is setup through a configurable resource in the J2EE 1.4 SDK. The e-mail notifcations are sent via this resource. The build.xml script in the adventure builder project directory utilizes entries from a properties files in order to create the proper resources. The steps for this are:
Once the mailer properties are setup, the next and final step is to create the JavaMail resources in the J2EE 1.4 SDK as follows :
The first step is to enable the mail notification option for OPC module. The steps for this are :
Once the e-mail notification is enabled, next step is to deploy the new e-mail
enabled OPC module. The steps for this are:
With the above steps, the mailer configured. Now you can create some adventure package and the OPC module will send e-mail notifications. The e-mail address used will be the one specified in the billing, shipping address of the customer web side page that is displayed before placing the order.
Copyright © 2004 Sun Microsystems, Inc. All Rights Reserved.