This JSP code snippet allows you to easily add e-mail activities to your store.
The EmailMessageDisplay.jsp file is available under the following directory:
- WC_installdir/samples/emailactivity/web/
WCDE_installdir\samples\emailactivity\web\
Usage
- Copy the e-mail activity file to your store's directory.
- Register the JSP file as an e-mail activity template.
- Copy the content of the EmailActivityText*.properties file to your store's properties file, for example the storetext*.properties file in your store directory.
- Create an e-mail activity.
- Copy the e-Marketing Spot code snippet, eMarketingSpotDisplay.jsp, from the following directory:
- WC_installdir/samples/Snippets/web/Marketing/Campaigns
WCDE_installdir\samples\web\Marketing\Campaigns
- Locate the line
"<%-- Remove this line to show E-Marketing Spot"
and"-- Remove this line to show E-Marketing Spot --%>"
in the EmailMessageDisplay.jsp and remove those two lines. - Create an e-Marketing Spot named "ESpot Name" using the WebSphere Commerce Accelerator. The name of the e-Marketing Spot you create must match the name of the e-Marketing Spot referenced in the e-mail activity JSP file.
- Create an e-mail activity using the WebSphere Commerce Accelerator.