I see the problem now with the From email address. It will use the From address as set in the WP Mail SMTP setting, not the one you have set dynamically as the person who submitted the form. I wonder what happens if you leave those first two fields blank in the WP Mail SMTP settings? I wonder if the information sent by Gravity Forms to the wp_mail() function will still be honored, as you need it to be?
Answers to your questions:
1) no, there is no hook in Gravity Forms to get those settings from the WP Mail SMTP plugin. See above though. Have you tried leaving those two WP Mail SMTP fields blank? See the note on that page where it says the defaults will be used. I wonder if it will just pass through what Gravity Forms sends?
2) I don't think sendgrid will help. That is just a reliable mailer. Any SMTP server can be configured there. The from name and from email up top is really what you would have a problem with, no matter what SMTP server you used.
3) I don't know of any. I don't have much experience with Configure SMTP, but looking at the screenshot of the settings page it appears to offer the same options. Authentication for the SMTP server, then separately the From email and From name. And again, if you leave those blank, the WordPress defaults will be used. Gravity Forms overwrites that, so leaving those fields blank is worth a shot, no matter which plugin you use.
4) When 3rd party plugins exist to solve a problem, we tend not to include that functionality. We focus on creating forms and collecting data, and have created add-ons where we find a need. Since the existing SMTP plugins solve the problem, I don't think there has been a big push to add SMTP functionality to Gravity Forms.
Let me know if you try configuring one of the SMTP plugins WITHOUT filling in the From email and From name (you will still need to enter authentication information separately) and if the email then appears to come from the person who submitted the form, if your notification is set up to work that way.
Thanks for hanging in there with us.
Posted 9 years ago on Saturday September 15, 2012 | Permalink