Examples: Transactional emails sent by IBM Marketing Cloud Transact XML
Transactional emails are sent from the Aurora starter store when customers complete certain flows. For example, resetting a password or activating an account. These emails can be sent by IBM Marketing Cloud Transact XML, including personalization name-value pairs, and e-Marketing spots that contain recommended content.
Option 1 : Sample emails that are composed entirely in WebSphere Commerce
The following table illustrates what the IBM Marketing Cloud Transact XML email template body might look like when the WebSphere Commerce JSP composes the entire HTML:Option 1 : Sample emails that are composed entirely in WebSphere Commerce
Message type IBM Marketing Cloud Transact XML email template body Message for a received order (order submitted) %%BODY%%
Message for notifying the customer of an order release manifestation (order shipped) Notification message for a canceled order (order cancel) Message to notify approvers (approver notification)
Option 2 : Sample emails that use WebSphere Commerce name-value pairs
The following table illustrates what the IBM Marketing Cloud Transact XML email template body might look like when the WebSphere Commerce JSP creates personalization name-value pairs, which include any links, personalized tags, and e-Marketing spots:
Message type IBM Marketing Cloud Transact XML email template body Notification message for password reset (password reset) Dear %%USER_NAME%%, We have received your request to have your password reset. Your validation code is: %%VALIDATION_CODE%% Use the validation code in the browser where you initiated the password reset request. Thanks, The %%STORE_NAME%% team
User account activation by email (account activation) Dear %%USER_NAME%%, Thank you for registering. Please click the link below to activate your account and login to the store. A Activate my account Thanks, The %%STORE_NAME%% team
Where A Activate my account is a link that uses the %%ACTIVATION_LINK%% tag in the IBM Marketing Cloud Transact XML template. See Creating links in the IBM Marketing Cloud Transact XML template body.
SendGiftRegistryAnnouncementMessage (wish list notification) Dear customer, %%SENDER_NAME%% from e-mail address: %%SENDER_EMAIL%% has created a wish list. %%SENDER_MESSAGE%% To take a look, click the following link: B View Wish List C %%EmailWishlistNotification_Content%% Thanks, The %%STORE_NAME%% teamWhere:
- B View Wish List is a link that uses the %%WISHLIST_LINK%% tag in the IBM Marketing Cloud Transact XML template.
- C %%EmailWishlistNotification_Content%% is the name of the e-Marketing Spot to display as part of the IBM Marketing Cloud Transact XML template. See
Including e-Marketing spots in the IBM Marketing Cloud Transact XML template body.
Sample JSP files
Sample JSP files are available by default in WebSphere Commerce under the following directories:
- WC_eardir/Stores.war/storedir/EmailTemplates
(Developer) workspace_dir\Stores\WebContent\storedir\EmailTemplates
In the Common directory:
- SilverpopPersonalizationXml.jspf
In the Order directory:
- SilverpopOrderCancelNotify.jsp
- SilverpopOrderCreateNotify.jsp
- SilverpopOrderShipmentNotify.jsp
In the User directory:
- SilverpopAccountActivationNotify.jsp
- SilverpopApproverNotify.jsp
- SilverpopPasswordResetNotify.jsp
- SilverpopWishlistCreateNotify.jsp