This is either going to be caused by another plugin or theme manipulating the wp_mail() function in WordPress and changing the Send From, or it's going to be a web server configuration issue that is changing the Send From after wp_mail() asks the server to send the email.
Gravity Forms passes whatever you configure in the Notifications to the wp_mail() function to send the email. After that, it's out of Gravity Forms control. If a plugin or theme has filtered the wp_mail() function in such a way that it's hardcoding or changing values, or if the server is doing things after the function is executed there isn't anything Gravity Forms can do about it.
What I would suggest doing is testing for plugin and theme conflicts. Here is information on how to do that:
If that turns up nothing, you could try discussing this with your web host.
It's possible your web host doesn't allow you to set the Send From to an email address that isn't associated with that web site hosting account and then automatically changes it before sending the email.
We had sites hosted on BlueHost a couple years ago and encountered a similar issue and it was BlueHost changing the Send From address because it was not a From address that was associated with the web site itself.
The existing AWeber Add-On requires us to integrate with AWeber by effectively spoofing the users name and email when sending an email because the AWeber API did not support adding new subscribers via an API call when the AWeber Add-On was created.
The good news is AWeber launched a new version of their API last week and we will be updating the AWeber Add-On soon to take advantage of the new capabilities. This will allows us to add the new subscriber via an API call, which is much more reliable and bulletproof than the email method being used now. The other benefit is we'll be able to enhance the AWeber Add-On to support custom fields like we do with MailChimp and Campaign Monitor.
Posted 10 years ago on Thursday December 1, 2011 | Permalink