Debugging Email Message Code

Important: This information applies to the Email Message Designer. Speak to your Account Administrator about access to this feature.

Note: The Email Campaign Workbook now has an updated interface and is now called the Email Campaign Designer. Campaign Designer is now enabled for all accounts, and it replaces Campaign Workbook for this channel. Unlike the Campaign Designer, there were no major changes made to the Message Designer's interface.

Using the Email Message Designer, you can include Responsys Personalization Language (RPL) debug code. Debug code will print at the end of a Proof Test and Preview message.

You can also use RPL to display all data fields and their associated values that were used to personalize the email at the end of the email.

Debugging is used only during Proof Launch and Preview, eliminating the chance that test content is accidentally sent to actual recipients. Learn more about proof launches.

You can use the following RPL statements for debugging:

  • ${"ORDER_ID:"?debug+ORDER_ID?debug}
    where everything before ?debug is used for debugging
  • <#if environment.debug>
  • </#if>
    anything in this statement is used for debugging.

This is similar to the HTML comment block.

Learn more