# Email - all recipients get default email even though variant filter is set correctly

**URL:** <https://forum.mautic.org/t/email-all-recipients-get-default-email-even-though-variant-filter-is-set-correctly/17507>\
**Category:** Product Support\
**Created:** [December 21, 2020, 6:45pm UTC](https://forum.mautic.org/t/email-all-recipients-get-default-email-even-though-variant-filter-is-set-correctly/17507 "2020-12-21T18:45:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![davedekker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/davedekker/32/4133_2.png) [@davedekker](https://forum.mautic.org/u/davedekker)\
**Post date:** [December 21, 2020, 6:45pm UTC](https://forum.mautic.org/t/email-all-recipients-get-default-email-even-though-variant-filter-is-set-correctly/17507/1 "2020-12-21T18:45:04Z")

</div>

**Your software**  
My Mautic version is: v3.1.2  
My PHP version is: 7.3.25

**Your problem**  
My problem is: email with dynamic content block that has 1 variant gets sent and all recipients get default content only even though some should get the variant content. Rule for the variant is ‘Marketing Details’ contains ‘eCommerce’

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/280045ed3dfefa6bfca2d77ae4d18a99ff4a6a65.png) . I have verified in Mautic that the contact has the correct value in Marketing Details field ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/a/aeb28a6d143f4ec71801fa4ec2a29926beb40127.png)

These errors are showing in the log: none

Steps I have tried to fix the problem: remove filter on variant, add it back, apply, close and save.

---

<div class="post-metadata">

**Author:** ![davedekker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/davedekker/32/4133_2.png) [@davedekker](https://forum.mautic.org/u/davedekker)\
**Post date:** [January 27, 2021, 3:25pm UTC](https://forum.mautic.org/t/email-all-recipients-get-default-email-even-though-variant-filter-is-set-correctly/17507/2 "2021-01-27T15:25:06Z")

</div>

This has been solved by switching operator to regex.
