# Notifications TO field merge tags

**URL:** <https://community.gravityforms.com/t/notifications-to-field-merge-tags/13055>\
**Category:** Get Help\
**Tags:** notifications, merge-tags, to-address-is-invalid\
**Created:** [July 16, 2022, 5:57pm UTC](https://community.gravityforms.com/t/notifications-to-field-merge-tags/13055 "2022-07-16T17:57:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![user61959ad1ea797065](https://avatars.discourse-cdn.com/v4/letter/u/5f9b8f/32.png) [@user61959ad1ea797065](https://community.gravityforms.com/u/user61959ad1ea797065)\
**Post date:** [July 16, 2022, 5:57pm UTC](https://community.gravityforms.com/t/notifications-to-field-merge-tags/13055/1 "2022-07-16T17:57:17Z")

</div>

Hey there  
In [this](https://docs.gravityforms.com/configuring-notifications-in-gravity-forms/) help doc it says:

> You will see a setting labeled **Send To**. This allows you to determine how the message is sent. The options available are the following:
> 
> - **Enter Email** : This can be a [merge tag](https://docs.gravityforms.com/field-merge-tags/) for a field in your form like `{Email:2}`, a single email address, or multiple email addresses separated by a comma that all notifications for this form will be sent to, eg: `support@example.com` or `support@example.com,sales@example.com,ceo@example.com`

And so I configured the email to send to two email addresses like this:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/2/292e6c12a37daf05149be06294f1b6f7f41e5736.png)

Which resulted in this error:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/7/79f9c9bbcef7b4af1d697aab1137bbadeed11a11.png)

So…I cannot actually send notifications to two email addresses entered into the form? Or what have I done wrong here?

Seriously I find nothing in Gravity Forms works the way developers say it does.

---

<div class="post-metadata">

**Author:** ![user61959ad1ea797065](https://avatars.discourse-cdn.com/v4/letter/u/5f9b8f/32.png) [@user61959ad1ea797065](https://community.gravityforms.com/u/user61959ad1ea797065)\
**Post date:** [July 16, 2022, 6:27pm UTC](https://community.gravityforms.com/t/notifications-to-field-merge-tags/13055/2 "2022-07-16T18:27:13Z")

</div>

As an update to this I have determined that it only fails when no second email address is added.

Which seems like poor coding.

It does send the emails when there are email addresses in both fields.

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [July 16, 2022, 8:46pm UTC](https://community.gravityforms.com/t/notifications-to-field-merge-tags/13055/3 "2022-07-16T20:46:54Z")

</div>

Hi Krystal. You can work around this limitation like this:

Notification 1: configured with two merge tags in the TO field. Use conditional logic to send this notification when ALL the conditions are true. The conditions will be “If Email 1 IS NOT” and then leave the value empty, and “If Email 2 IS NOT” empty. That will match when there are email addresses submitted in both fields.

Notification 2: configured with one merge tag in the TO field. Use conditional logic on this notification to send when one rule matches: “Email 2 is” (empty).

That presumes that the first email field is required and the second email field is optional.

If you have any other questions or if that does not work for you, please let us know.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [August 15, 2022, 8:47pm UTC](https://community.gravityforms.com/t/notifications-to-field-merge-tags/13055/4 "2022-08-15T20:47:07Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
