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 use a different sender email to each recipient. You can do this to personalize who the email appears to be from, such as using the user's account manager's email address, or a local office's email address.
# General requirements
In order to use dynamic sender emails in a campaign, you need to:
Enable dynamic senders: Turn on the Use Dynamic Sender Emails project setting.
Set up your sending domains in Iterable: Add and verify all sending domains.
Set up your senders in Iterable: Add and verify each sender email address.
Assign a sender email to each recipient in a data field on their user profile. For example, you could use a field called
senderEmail
and it would contain the email address you want to use as the sender for that user.
# Instructions
# Step 1: Enable dynamic sending
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.
- Enable the Use Dynamic Sender Emails setting by checking the box.
- Click Save.
# 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.
NOTE
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 skip events.
# 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:
Click Save.
When you're ready, schedule or send the campaign.
At send time, Iterable checks each user's profile for that field and uses 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
example, 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.
For example: