PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

User notification email not working

  1. I am trying to set up an email that sends all form elements to the user after submittal, using the {all_fields} merge code which works great.

    What I can't figure out is how to set up the email address. I have entered {user:user_email} in the "Send to" field but get an error saying "Please enter a valid email address".

    What do I enter in this field so whoever submits the form will receive an email? Thanks!

    Posted 11 years ago on Monday May 13, 2013 | Permalink
  2. David Peralty

    You need to add an e-mail field to your form, you can have it hidden, and then you can use the merge tag you listed above. Then what will happen is that a logged in user will have their e-mail auto-populated into the e-mail field. You can then pull that e-mail address as the To address for your notification.

    Posted 11 years ago on Monday May 13, 2013 | Permalink
  3. Thanks for your reply but I'm not all clear on this. Please clarify below:

    1. Add hidden email address to form. Check "allow field to be populated dynamically". Parameter name: {user:user_email}
    2. Form notification settings: What email address do I enter here?

    Posted 11 years ago on Monday May 13, 2013 | Permalink
  4. David Peralty

    1.) The default value would be the {user:user_email} merge tag. The Parameter would be useremail.
    2.) You use the merge tag related to the field you created.

    Posted 11 years ago on Monday May 13, 2013 | Permalink
  5. Thanks. This worked great, once I changed the radio button on the "notifications" page from "Enter Email" to "Select a Field". Has the documentation been updated for this anywhere? I would have never figured this out on my own.

    Posted 11 years ago on Tuesday May 14, 2013 | Permalink
  6. David Peralty

    We haven't updated our Notifications documentation, but here is our current page for it - http://www.gravityhelp.com/documentation/page/Notifications

    Posted 11 years ago on Tuesday May 14, 2013 | Permalink