Multiple email domains in Leanplum

In general, Leanplum supports one default domain per app for email sending. However, we can provide a workaround for using multiple marketing/transactional domains with one app. Below you will find the restrictions which come with this and an example scenario where this is usually applied:

1) Restrictions

By using more than one domain it is mandatory to always update your From: address to the exact domain/subdomain which is configured within our ESP (Sendgrid) during your email onboarding. Since Leanplum has only one Default From: address, this means to manually update the Sender address field for each respective message when a domain change needs to be applied. Below you can find screenshots of the Sender address fields within Messages and Campaigns:

  • Messages (under “Show More”):messages.png
  • Campaigns (under “Advanced options”):campaigns.png

2) Example scenario

Your company needs to use country-specific domains from the same app. Let's say you have 3 countries you need to send to - UK (domain.co.uk), Spain (domain.es) and Italy (domain.it). We strongly recommend using subdomains dedicated to Leanplum, so your sender reputation is not mixed up with other ESP services you use.

 

Your marketing subdomains could be: news.domain.co.uk; news.domain.es; news.domain.it. Each of these domains has to go through Email onboarding, where it will own separate DNS records, so that messages sent through it can pass authentication checks (SPF; DKIM).

 

In order to ensure the proper SPF and DKIM are applied to each email, you need to update the From address for each message/campaign manually to match the respective sub-domain. If you need to target your UK audience the address needs to be: example@news.domain.co.uk. Same applies for the other examples as well: For Spain - example@news.domain.es; For Italy - example@news.domain.it;

 

If you do not use one of the configured sub-domains, your authentication checks may fail and hurt your sender reputation. In time, your messages may start landing in Spam or getting blocked by ISPs. Below you will find an example tables visualizing the example scenario in terms of authentication (SPF; DKIM; DMARC):

 

With default domain set:default_domainset.png

  • If you use the root domain of the default, it won’t be a problem. If however you use the root of the additional domains, DMARC checks will fail due to lack of alignment. 

Without default domain set:default_domain_no_set.png

  • If you use the root domains as shown in the table, you see that the message was delivered “via sendgrid.net” as a From address:via_sendgrid.png

Should you need to add more subdomains, you have to reach out to support@leanplum.com. Sending through an unauthorized domain will result in the authentication and reputation issues mentioned above.


Was this article helpful?
Have more questions? Submit a request