JSP code snippet: e-mail template

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:

Usage

  1. Copy the e-mail activity file to your store's directory.
  2. Register the JSP file as an e-mail activity template.
  3. Copy the content of the EmailActivityText*.properties file to your store's properties file, for example the storetext*.properties file in your store directory.
  4. Create an e-mail activity.
  5. Copy the e-Marketing Spot code snippet, eMarketingSpotDisplay.jsp, from the following directory: to your store's /include directory.
  6. 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.
  7. 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.
  8. Create an e-mail activity using the WebSphere Commerce Accelerator.

Feedback