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 "From Email" not working?

  1. rneagu
    Member

    http://komotion.com/test-4/

    I set up a simple form to capture user email. In the notifications admin screen I set up the Send To Email to have that user email in the From Email field. But the email I receive from the form shows the email coming from the admin, not from the user!

    Am I missing something??

    Thanks.

    Posted 13 years ago on Wednesday November 3, 2010 | Permalink
  2. You posted on the forums and contacted us via our Contact Us form. In the future please keep support requests on the Support Forum. Here is my response:

    There is no bug, your notifications aren't setup properly for what you want to do.

    The From Email and the Reply To fields on the Admin Notifications have an "OR" option next to them with a drop down that says "Select an email field" where you pick which field it should use in order to dynamically populate the From and Reply To fields based on an email field that exists on your form.

    You either type in an email address if you want to hardcode the email, OR you select an email field using the drop down next to each of those fields. An email field has to exist on your form for this option to appear.

    See this screenshot:

    http://grab.by/7cjT

    You can see how I setup the Admin Notification for the Test Form on your site.

    Form field variables don't work in those fields. Only fields that have a "Insert form field" drop down directly above them work with those variables. You can't just place those variables anywhere.

    Posted 13 years ago on Wednesday November 3, 2010 | Permalink
  3. rneagu
    Member

    Carl,

    Still not working. I may be missing something obvious but I tried everything I can think of, including clearing cache and using a different browser after I made the changes. Still, no matter what, the email appears to come from the system email, not from the email the user has entered in the form.

    I propose we keep this thread going in the Priority Support thread since that has my login info which you could use to see the behavior for yourself.

    Thanks.

    Posted 13 years ago on Wednesday November 3, 2010 | Permalink
  4. I am actually having the same problem with the From Email not being used even if set. Reply-to does work, however.

    Posted 13 years ago on Wednesday November 3, 2010 | Permalink
  5. This is sounding more and more like a web server configuration that isn't allowing you to change the from address for security reasons and the then the WordPress mail function defaults to the admin email. You may need to try using the WP Mail SMTP plugin to configure your WordPress install to send mail using SMTP which is a more reliable way of sending email.

    You can download it here:

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

    You will have to check with your web host for proper SMTP configuration settings.

    Posted 13 years ago on Wednesday November 3, 2010 | Permalink
  6. We run our own servers and can alter the from address fine in custom scripts. If WordPress can set the from address, then it is not likely a security issue with the server. Is there something being checked in Gravity Forms or WordPress that could possibly be interfering?

    Posted 13 years ago on Wednesday November 3, 2010 | Permalink
  7. We are still having this problem with 1.5 RC1. It is pulling in both an email address and name that are not the admin email nor a server setting (server setting is email address only, not name). Is there some rogue option that Gravity Forms could be reading? Is there some way for me to check or troubleshoot what's going on without having to dissect your otherwise wonderful plugin?

    Posted 13 years ago on Tuesday December 14, 2010 | Permalink
  8. @ESMWebhelp There is no rogue options, Gravity Forms uses the wp_mail() function to send email. It simply passes the values to this core WordPress function. Nobody else is reporting this issue, and mail is used by most Gravity Forms users so the issue is going to be specific to your server setup.

    The user above was having a different issue, unrelated to yours. It was a site setup issue.

    If you send us a WordPress admin login for the site having the problem via our Contact US form we can take a look and see what is going on.

    Posted 13 years ago on Tuesday December 14, 2010 | Permalink
  9. We sent the requested information a while ago. Any chance of a response or are the forums still the best place to go?

    Posted 13 years ago on Saturday January 8, 2011 | Permalink
  10. I am not receiving email confirmations either. It was working until WordPress released v3.0.4.

    Posted 13 years ago on Sunday January 9, 2011 | Permalink
  11. @ESMWebhelp, I will check and see if your details came through on our end.

    @mbookspan, Could you confirm that you are able to receiving any WP notifications? For example, try setting up a new user and then verify that WP has sent you a new user notification? This will help us narrow down the issue. Also, you mentioned you are using WP 3.0.4. What version of Gravity Forms are you using?

    Posted 13 years ago on Sunday January 9, 2011 | Permalink
  12. I am using GF 1.4.5. And yes, creating a user sent me a welcome message.

    Posted 13 years ago on Sunday January 9, 2011 | Permalink
  13. @ESMWebhelp I had responded to our email correspondence a while back. The issue you are running into is a server configuration issue on your end.

    That is the reason why the email being sent from the Send To is an email address that is neither setup in Gravity Forms or as your WordPress email in your WordPress settings. Something with how your web server is setup is refusing to allow Gravity Forms to set the Send To address, it's substituting it's own.

    It's not a code issue, plugin or WordPress issue. It's a server configuration issue specific to your site and no other users are experiencing this specific issue.

    The only resolution I can offer is to install and configure an SMTP plugin to force WordPress to send email via SMTP. You can download the SMTP plugin here:

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

    You will have to properly configure the SMTP settings once you activate the plugin.

    Posted 13 years ago on Sunday January 9, 2011 | Permalink
  14. @mbookspan Send us a WordPress admin login for the site having the issue via our Contact Us form and describe your issue in the Contact Us request and we will look into it and see what is going on. Nothing changed in WordPress 3.0.4 that should impact this, so something else is going on.

    Posted 13 years ago on Sunday January 9, 2011 | Permalink
  15. Carl,

    Will do. Oddly enough, GF will send the end-user an email notification. And, I get notifications from a new user registration. My guess is that this is a config error on my part somewhere.

    Posted 13 years ago on Sunday January 9, 2011 | Permalink
  16. Ok, now GF is failing again. No notification to the end-user nor to the Admin. Adding a user via WP results in a received email. I sent credentials via email (your contact form isn't secure). :)

    Posted 13 years ago on Monday January 10, 2011 | Permalink
  17. More data:

    * The form sends an email outside of my domain - so the client would receive it.
    * The form does not send an email to the admin or to any other email that uses my domain (blacktipit.com).

    Posted 13 years ago on Monday January 10, 2011 | Permalink
  18. If it is not sending emails to your own domain then this is a web server configuration issue.

    You need to configure your web server to that email is sent Remotely, not locally or the automatic setting. This is can typically be done in your CPanel although you will need to contact your web host for specifics.

    Explain to them that you have an application that is sending email fine via PHP *EXCEPT* when it is going to the same domain as the site itself.

    I'm guessing your email is hosting with Google Apps or some other 3rd party email service (although could still be with your web host, it happens on occasion). What is happening is your web server thinks it is hosting your email so it sends the email to itself... but it's not hosting your email so you don't receive it.

    This is why you need to configure your hosting settings to send email remotely so that it sends to your remotely hosted email.

    Posted 13 years ago on Monday January 10, 2011 | Permalink
  19. You are right - I use Google Apps. I made a change last week to support their new DKIM security feature at the same time that I upgraded to 3.0.4. I will reach out to my hosting provider and ask them to revert it. Thanks!

    Posted 13 years ago on Monday January 10, 2011 | Permalink
  20. You shouldn't need to revert any security features, your web hosting just needs to be configured so it knows your email is hosted with Google and not with your web host. Right now your web server never sends out the email to that domain because it thinks it hosts your email.

    Posted 13 years ago on Monday January 10, 2011 | Permalink
  21. You are right. I had the web server fixed and email is now sending as expected. Lastly, I don't mind disabling the DKIM feature. It was causing other issues with some of my clients.

    Thanks again for helping diagnose the problem. I really appreciate it.

    Posted 13 years ago on Tuesday January 11, 2011 | Permalink

This topic has been resolved and has been closed to new replies.