# Send email to a variable included in a form

**URL:** <https://forum.mautic.org/t/send-email-to-a-variable-included-in-a-form/27215>\
**Category:** General Discussion\
**Created:** [March 1, 2023, 2:50pm UTC](https://forum.mautic.org/t/send-email-to-a-variable-included-in-a-form/27215 "2023-03-01T14:50:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hcavet](https://avatars.discourse-cdn.com/v4/letter/h/da6949/32.png) [@hcavet](https://forum.mautic.org/u/hcavet)\
**Post date:** [March 1, 2023, 2:50pm UTC](https://forum.mautic.org/t/send-email-to-a-variable-included-in-a-form/27215/1 "2023-03-01T14:50:25Z")

</div>

Hello, I created a form that has fields:

Name:  
Email:  
Featured employee name:  
Featured employee email:

I would like an email to be sent to this email address filled out in the highlighted employee email, but I could not find this option and I do not know if it exists.

 ![Captura de tela 2023-03-01 113824](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/c/c7993906cf7f28fbdfaf8bfb3d5a3e56bfd5486b.png)

Can anybody help me

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [March 1, 2023, 9:48pm UTC](https://forum.mautic.org/t/send-email-to-a-variable-included-in-a-form/27215/2 "2023-03-01T21:48:12Z")

</div>

Something like this?

> [@Mautic form with three radio buttons, but I'd like this form to redirect to a different page depending on the option the user choice](https://forum.mautic.org/t/mautic-form-with-three-radio-buttons-but-id-like-this-form-to-redirect-to-a-different-page-depending-on-the-option-the-user-choice/24388/1):
>
> Hi Community!, I have a mautic form with three radio buttons, but I’d like this form to redirect to a different page depending on the option the user selects before form submission, is there some way to configure this on mautic or some other way to accomplish that?

---

<div class="post-metadata">

**Author:** ![leoschuler](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/leoschuler/32/4798_2.png) [@leoschuler](https://forum.mautic.org/u/leoschuler)\
**Post date:** [March 2, 2023, 12:36pm UTC](https://forum.mautic.org/t/send-email-to-a-variable-included-in-a-form/27215/3 "2023-03-02T12:36:37Z")

</div>

My suggestion is to map the form to the following lead/primary company fields:

email\_destaque = Email (Lead)  
nome\_destaque = First Name (and/or Last Name) (Lead)  
Name = either don’t map or map to a Primary company field (like Employee Name)  
E-mail = either don’t map or map to a Primary company field (like Employee Email)

after that, you can just set the option Send email to contact to yes ( Enviar para o contato = Sim )

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [March 2, 2023, 7:17pm UTC](https://forum.mautic.org/t/send-email-to-a-variable-included-in-a-form/27215/4 "2023-03-02T19:17:13Z")

</div>

not sure if fully on topic, but you can check out this plugin, we have used it extensively in the past: [GitHub - maatoo-io/MauticReferralsBundle](https://github.com/maatoo-io/MauticReferralsBundle)

---

<div class="post-metadata">

**Author:** ![hcavet](https://avatars.discourse-cdn.com/v4/letter/h/da6949/32.png) [@hcavet](https://forum.mautic.org/u/hcavet)\
**Post date:** [March 2, 2023, 7:54pm UTC](https://forum.mautic.org/t/send-email-to-a-variable-included-in-a-form/27215/5 "2023-03-02T19:54:07Z")

</div>

Tks… i try this way =)

---

<div class="post-metadata">

**Author:** ![hcavet](https://avatars.discourse-cdn.com/v4/letter/h/da6949/32.png) [@hcavet](https://forum.mautic.org/u/hcavet)\
**Post date:** [March 2, 2023, 7:54pm UTC](https://forum.mautic.org/t/send-email-to-a-variable-included-in-a-form/27215/6 "2023-03-02T19:54:17Z")

</div>

Tks for help!

---

<div class="post-metadata">

**Author:** ![hcavet](https://avatars.discourse-cdn.com/v4/letter/h/da6949/32.png) [@hcavet](https://forum.mautic.org/u/hcavet)\
**Post date:** [March 2, 2023, 7:54pm UTC](https://forum.mautic.org/t/send-email-to-a-variable-included-in-a-form/27215/7 "2023-03-02T19:54:32Z")

</div>

TKS for help you too
