Goal​

To display the background color of an email message during message composition.

Background Information​

To set the background color for an email message in general, you set the desired color in the <body> tag of the email HTML.

To display this background color also in the ​Compose Email Message​ window, you add a specific variable in the framework head and define the same color code.

The message creator can see the background color during email message creation but is unable to change the color.

Changes made to a framework are automatically applied to all email templates that use the framework.


Prerequisites​

Content Management (Email) is an extra feature that must be enabled for your Mapp Engage system. For more information, contact your customer representative.

  • A framework has been created and saved in the ​Frameworks​ tab.
  • You need the following permissions:


Permission Number

Purpose

​2100​

Content Management: View and Use Frameworks

​2101​

Content Management: Create Frameworks

​2102​

Content Management: Edit Frameworks

Related Topics​

Procedure​

  1. In the ​Main Navigation​, click ​Content Management​ > ​Email​.
    ⇒ The ​Email​ window opens to the ​Email Messages​ tab.
  2. Click ​Frameworks​.
    ⇒ The ​Frameworks​ tab opens.
  3. Select the required framework.
  4. Click ​Edit​.
    ⇒ The ​Compose Framework​ window opens to the ​Information​ tab.
  5. Click ​Edit​.
    ⇒ The ​Edit​ tab opens.
  6. In the head section of the framework HTMLcode, enter the defaultBGColor variable with the desired value. To do so, use the #set directive.
    Example: #set ($defaultBGColor = #703092)

  7. Click the ​Save & Close​ button.
    ⇒ The changes are saved. The changes are visible for new email messages that use an email template with this framework.