# Form submission sends email to user based on IP

**URL:** <https://forum.mautic.org/t/form-submission-sends-email-to-user-based-on-ip/1797>\
**Category:** Product Support\
**Created:** [May 1, 2015, 10:04pm UTC](https://forum.mautic.org/t/form-submission-sends-email-to-user-based-on-ip/1797 "2015-05-01T22:04:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sway](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@Sway](https://forum.mautic.org/u/Sway)\
**Post date:** [May 1, 2015, 10:04pm UTC](https://forum.mautic.org/t/form-submission-sends-email-to-user-based-on-ip/1797/1 "2015-05-01T22:04:43Z")

</div>

I’m testing out a form on my website. I’ve already submitted to a different form on my website so I have been captured as a lead with a specific email. When I add in user details for a separate form and add in a different email address - Mautic ignores the different email address and (I assume) recognises the IP address and adjoining email address and send to that email address.  
  
  
  
I’m thinking this could be an issue for multiple leads sharing an IP address (i.e. office space)

---

<div class="post-metadata">

**Author:** ![Sway](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@Sway](https://forum.mautic.org/u/Sway)\
**Post date:** [May 1, 2015, 10:04pm UTC](https://forum.mautic.org/t/form-submission-sends-email-to-user-based-on-ip/1797/2 "2015-05-01T22:04:43Z")

</div>

I’m testing out a form on my website. I’ve already submitted to a different form on my website so I have been captured as a lead with a specific email. When I add in user details for a separate form and add in a different email address - Mautic ignores the different email address and (I assume) recognises the IP address and adjoining email address and send to that email address.

I’m thinking this could be an issue for multiple leads sharing an IP address (i.e. office space)

---

<div class="post-metadata">

**Author:** ![Sway](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@Sway](https://forum.mautic.org/u/Sway)\
**Post date:** [May 1, 2015, 10:16pm UTC](https://forum.mautic.org/t/form-submission-sends-email-to-user-based-on-ip/1797/3 "2015-05-01T22:16:09Z")

</div>

The lead is created correctly and the points allocated correctly - but the automated email is sent to the first email address created with the identical IP address

---

<div class="post-metadata">

**Author:** ![Sway](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@Sway](https://forum.mautic.org/u/Sway)\
**Post date:** [May 1, 2015, 10:50pm UTC](https://forum.mautic.org/t/form-submission-sends-email-to-user-based-on-ip/1797/4 "2015-05-01T22:50:57Z")

</div>

Just tested out a third form with a third email address - strangely I received two emails - both to the second email address I had used!

So far three forms have worked like this:

form1emailaddress submitted - form1 asset received  
form2emailaddress submitted - form2 asset sent to form1emailaddress  
form2emailaddress submitted - form2 asset sent to form1emailaddress  
form3emailaddress submitted - form2 asset sent to form2emailaddress  
form3emailaddress submitted - form3 asset sent to form2emailaddress

Pretty strange.

---

<div class="post-metadata">

**Author:** ![chad.windnagle](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chad.windnagle](https://forum.mautic.org/u/chad.windnagle)\
**Post date:** [May 1, 2015, 11:21pm UTC](https://forum.mautic.org/t/form-submission-sends-email-to-user-based-on-ip/1797/5 "2015-05-01T23:21:44Z")

</div>

Which instances are the email address the same / different?

mautic does use email, and IP address, but also uses cookies to help find different computers with the same IP, so we should be solving the problem of two people on the same IP.

---

<div class="post-metadata">

**Author:** ![Sway](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@Sway](https://forum.mautic.org/u/Sway)\
**Post date:** [May 1, 2015, 11:34pm UTC](https://forum.mautic.org/t/form-submission-sends-email-to-user-based-on-ip/1797/6 "2015-05-01T23:34:26Z")

</div>

Ah okay - this is all coming from the same laptop. Different email addresses between forms but the same email address on each individual form - three different emails were tested: form1emailaddress, form2emailaddress, form3emailaddress

---

<div class="post-metadata">

**Author:** ![chad.windnagle](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chad.windnagle](https://forum.mautic.org/u/chad.windnagle)\
**Post date:** [May 4, 2015, 2:30pm UTC](https://forum.mautic.org/t/form-submission-sends-email-to-user-based-on-ip/1797/7 "2015-05-04T14:30:41Z")

</div>

If you need them all to come from the same laptop you need to enable “Kiosk Mode” on the form which will ignore the cookie and create new leads for each submit.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:59pm UTC](https://forum.mautic.org/t/form-submission-sends-email-to-user-based-on-ip/1797/8 "2020-02-02T22:59:58Z")

</div>


