2021.2

Table Of Contents
Running the project
Having tested the project, you will be ready to send it to Workflow; see Saving and sending a
Workflow Configuration in Workflow's Online Help.
The project will run when you copy the Sample Data.xml file from the Configurations\Data
folder to the Workspace\In folder.
By default the project will still send all the emails to the sender's address. To change this:
1. Open the Create Email Content task and select the Email Info tab; then uncheck the Send
emails to sender (test mode) option.
2. Replace the test data with real data:
a. Open the Sample Data.xml file. You will find it in the Configurations\Data folder.
b. Replace the email addresses in this file by real email addresses that you have
access to.
c. Copy the modified sample data file from the Configurations\Data folder to the
Workspace\In folder.
The emails should now be sent to the email addresses that you entered in the sample data file.
Project details
The email template
The email's design is in the EM_BASIC Email Message template. It contains one Email
section (see "Email templates" on page527).
Styling is done via style sheets (see "Local formatting versus style sheets" on page745). The
style rules are in the context_htmlemails_styles.css file. Note how they use HTML tags, IDs and
classes to select elements. (See also: "Selectors in Connect" on page898.)
The @media rules make the email responsive (see also: "Designing an Email template" on
page518).
Note
Even though email clients do not read CSS files, CSS files can be used with the Email
context in the Designer. See "Using CSS files with HTML email" on page520.
Two attachments are added to the email, in different ways.
Page 141