# Campaing's "Send email to user" action, loose setup (email to and email template) details after database string replace

**URL:** <https://forum.mautic.org/t/campaings-send-email-to-user-action-loose-setup-email-to-and-email-template-details-after-database-string-replace/13900>\
**Category:** Development\
**Created:** [April 15, 2020, 1:13am UTC](https://forum.mautic.org/t/campaings-send-email-to-user-action-loose-setup-email-to-and-email-template-details-after-database-string-replace/13900 "2020-04-15T01:13:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![acremonezi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/acremonezi/32/1681_2.png) [@acremonezi](https://forum.mautic.org/u/acremonezi)\
**Post date:** [April 15, 2020, 1:13am UTC](https://forum.mautic.org/t/campaings-send-email-to-user-action-loose-setup-email-to-and-email-template-details-after-database-string-replace/13900/1 "2020-04-15T01:13:52Z")

</div>

My Mautic version is: **2.16.1**  
My PHP version is: **7.0.33-0+deb9u6**

**Steps to reprocude the issue:**  
1 - I have replaced a string inside the **campaign\_events.properties** table as bellow.

```
UPDATE campaign_events
SET properties = REPLACE(properties, 'sales@domain1.com', 'sales@domain2.com')

```

2 - This is just a simple e-mail address replacement.

**My issue:** After I replaced it all the campaings who used this email have lost (send email to user) action configuration. Bellow is a explanation of which setup was lost.

 ![campaing-issue](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/f/f2612bb2c3f9e7a45fc21a5d0855324b7d93c5fe.png)

**Could you please, someone, clarify me why it happens and what should I do to make this replacement without loose campaing actions setup?**

Thanks in advanced.

---

<div class="post-metadata">

**Author:** ![acremonezi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/acremonezi/32/1681_2.png) [@acremonezi](https://forum.mautic.org/u/acremonezi)\
**Post date:** [April 15, 2020, 2:35am UTC](https://forum.mautic.org/t/campaings-send-email-to-user-action-loose-setup-email-to-and-email-template-details-after-database-string-replace/13900/2 "2020-04-15T02:35:56Z")

</div>

Hi! @escopecz

Have you seen this before?

Thanks a lot and Best regards.
