# Dynamic Content in Email Issues

**URL:** <https://forum.mautic.org/t/dynamic-content-in-email-issues/13808>\
**Category:** Product Support\
**Created:** [April 6, 2020, 9:33pm UTC](https://forum.mautic.org/t/dynamic-content-in-email-issues/13808 "2020-04-06T21:33:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cyonkers](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/cyonkers/32/2142_2.png) [@cyonkers](https://forum.mautic.org/u/cyonkers)\
**Post date:** [April 6, 2020, 9:33pm UTC](https://forum.mautic.org/t/dynamic-content-in-email-issues/13808/1 "2020-04-06T21:33:12Z")

</div>

My Mautic version is: 2.16.1  
My PHP version is: 7.2.29

I have been hjaving difficulties getting Dynamic Content in emails working properly and consistently.

The goal is to create a single email and be able to substitute out the footer depending upon the contact owner. Ideally, I would like to do this using about a dozen variations in a single slot.

So far I am able to successfully send an email using Dynamic Content with only the default and a single variation. Whenever I use more that one variation the results are not only unpredictable but non-repeatable.

As an aside, another thing which I have found odd is that the **Dynamic Content 1** slot does not allow for more than a single variation, as there is no **+ NEW** button. Is this supposed to behave this way?

 ![mautic_dynamic_default_dyn_cont_1](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/5/5fc996640db9924242f6c97a65e2e683ffb092d7.png)

As this is the case I have been trying to use the **Dynamic Content 2** slot to substitute the footer. My test Dynamic Content is built out as shown in the images below.

Default Content:

 ![mautic_dynamic_default_dyn_cont_2](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/2428cd8308067fbf6e0a8586762183479081f070.png)

Variation 1:

 ![mautic_dynamic_var1_dyn_cont_2](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/e/e392731308678714f240c81f7c93ec48d7dbecd0.png)

Variation 2:

 ![mautic_dynamic_var2_dyn_cont_2](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/21dd9cb189a2defb7bda24dd05c4d3caa4697dcd.png)

Variation 3:

 ![mautic_dynamic_var3_dyn_cont_2](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/e/ed432471beaa0640ce1a904c023eeeab7418fcd4.png)

I have built the email (Segment Emails) using code mode and inserted {dynamiccontent=“Dynamic Content 2”} in the HTML where we wish the footer to display. It displays the default footer content in the preview and test emails as to be expected.

Code Mode:

 ![mautic_dynamic_email_HTML_dyn_cont_2](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/e/e2c7d7b56c04cf10556846941fd3f8ac131e6501.png)

**TESTING**  
I have a segment with 6 different email addresses that we use for testing. A couple of contacts have the default contact owner assigned and the rest are assigned to one of the three contact owners that I am using for this test.

**Filter: Owner \> Equals \> Owner Name**

The problems appear when sending the email. The contacts that _do not_ have one of the three filtered contact owners assigned (the default), consistently recieve emails with the Dynamic Default footer. Unfortunately, those assigned with a contact owner for any of the variations do not consistently display the correct footer.

I have cloned the same email without changing a thing and resent multiple times, however, I have not had repeatable results. Some emails will display the default footer when they should have a variation assigned, other times several emails will have the correct variation, but never all three. On a few occasions, the variations were mixed and not attached to the correct email based on the filtered contact owner.

I have looked through the log files and even done a tail -f as I was sending to the segment and can not find anything that would be related to this issue.

**Has anyone experienced this issue, or had success using multiple variations with Dynamic Content in emails?**

I realize that intermittent and inconsistent issues are the hardest to track down, but I am hoping that the community here could offer some insight as to what I might try next to help isolate the cause of this issue.

Thank you in advance.  
Clement
