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.

notification email not being sent when using verification

  1. Hi,

    I have this problem with my form:

    if I use an email field with non verification option (the checkbox under the filed label), everything works fine.

    if I use it however, the mail is not being sent. A second email field appears on the right of the first one, the form correctly checks if the two fields are identical, but then no email is sent after form submission.

    Why so?

    Am I missing something?

    Thanks a lot.

    Posted 11 years ago on Wednesday February 13, 2013 | Permalink
  2. Going deeper in my rant, the simplest version (ie: w/out verification) of the email field could be enough for me, if it was possible to at least check its syntax validity, via regexp or other means...

    Posted 11 years ago on Wednesday February 13, 2013 | Permalink
  3. I just tested this on my dev site and I could not replicate the issue with enabling the confirm email option on the email field. Notifications came through just fine.

    As far as notifications go, Gravity Forms does not actually send the email notifications. That is 100% handled by your web server. Gravity Forms uses the WordPress wp_mail() function, a built in WordPress function, to ask your web server to send the email notification.

    This can happen when you do things such as configure the Send From address of email notifications to an email address that does not use the same domain name as the web site itself. Also, sometimes they can get spammed.

    After that, it is entirely up to your web server to reliably send the email. Unfortunately, many web hosts are simply unreliable at handling email properly when sent via PHP. This results in unreliable performance.

    The most reliable way to configure WordPress to handle sending email is going to be to use SMTP. You would do this by installing the WP Mail SMTP plugin and then contacting your web host to get the appropriate SMTP settings. You would then need to configure the Send From of your notifications so that it uses an address associated with that SMTP account.

    http://wordpress.org/extend/plugins/wp-mail-smtp/

    You can also test for theme/plugin conflicts, as we have seen plugins block notifications before:

    http://www.gravityhelp.com/documentation/page/Testing_for_a_Theme/Plugin_Conflict

    http://www.gravityhelp.com/documentation/page/Troubleshooting_Notifications

    Posted 11 years ago on Thursday February 14, 2013 | Permalink
  4. Hi,

    mail handling on my site works well, because if I don't enable the email verification checkbox the mail arrives correctly.
    Even the notes sent by the entries sections, under a single form entry, arrive to the recipient.

    The problems only manifest itself when ticking the verification checkbox in the "email" form field.

    I can supply you a test user profile if you want to verify it first hand...

    Posted 11 years ago on Thursday February 14, 2013 | Permalink
  5. Since you are a developer license holder, fill out this form: http://www.gravityhelp.com/priority-support/

    I can send you a logging add-on that should show us if the notification is successfully being passed onto wp_mail().

    Posted 11 years ago on Thursday February 14, 2013 | Permalink
  6. Done.

    Thanks a lot.

    Posted 11 years ago on Thursday February 14, 2013 | Permalink
  7. Maybe I got it.

    I think the problem was due to some missing merge tags into the notification emails. Can it be the case?

    I'll try to better explain myself (sorry form my bad english):
    I have some fields in the forms that appear/disapper depending on the value of other "parent" fields.
    Example: "do you prefer apples or bananas?"
    "apples" -> a field appears up asking "how many apples do you want?"
    "bananas" -> a different field shows up "how many bananas?"

    I think the notification email fails to be sent when i put the merge tag for "number of bananas" in it, but the use selected apples in the first field of the form, thus leaving the "how many bananas?" field empty (= NULL).

    What do you think?

    Thank you

    Posted 11 years ago on Thursday February 14, 2013 | Permalink