This article explains how to make the sender email dynamic in an Iterable email campaign.
In this article
What is a dynamic sender email?
A sender email is the email address that a campaign is sent from. Usually, this is the same for every user who receives a campaign. But with dynamic sender emails, you can display a different sender email to each recipient.
Step 1: Turn on the Use Dynamic Sender Emails project setting
First, turn on the project setting that controls this feature. (When this setting is off, you can only have one sender email per campaign.)
- Navigate to Settings > Project Settings.
- Switch the Use dynamic sender emails toggle to Yes.
- Click Save Project Settings.
Step 2: Assign sender emails to your audience
Next, assign a sender email to each recipient in a data field on their user
profile (for example,
senderEmail). In the next step, you'll enter that user
profile field name in a Handlebars expression
for the From email in your email campaign.
You must set up each sender email correctly on each user's profile in order for messages to be sent — invalid or mistyped email addresses will result in send skips.
Step 3: Use Handlebars to make the sender email in a campaign dynamic
Finally, to tell Iterable which sender email to use for each recipient, enter a Handlebars expression that references the field you created in the previous step.
Open one of your email templates, and click Edit details.
Click into the From email box and enter a Handlebars expression that references the user profile field you set up in the previous step. For example:
When you're ready, schedule or send the campaign.
At send time, Iterable will check each user's profile for that field and display the right sender email for each recipient.
Testing a campaign that uses dynamic sender emails
It's a good idea to test before you send to make sure that the Handlebars expression you entered for the From email renders correctly at send time. (If there are any errors in your sender email addresses or the Handlebars expression, some users may not receive the campaign.)
To make sure everything is working as expected, send a proof of your campaign to yourself or an internal list, or generate a preview of the email using the email address of one of your users.
You may also want to make sure everyone on your list has the correct field (for
senderEmail) on their user profile before you send a campaign using
dynamic sender emails. To do this, use go to Audience > Segmentation and
check for users who don't have the sender email field set on their user profile.