Viewing 1 replies (of 1 total)
  • I also have this issue, however, it is with Gravity Forms.

    I’m currently trying to find if there is a way to use a filter to set or change it upon the event of the email being sent from Gravity Forms.

    In my tests I can see that the 3rd line “return $email” in this method gets hit twice.

    public function set_from_email( $email ){
    	if( empty( $this->opts['from_email'] ) )
    		return $email;
    	return $this->opts['from_email'];
    }
    

    On the first time it’s hit, it shows the default from email of the plugin.
    However, on the second time it’s hit it shows the from email that is set by Gravity Forms.

    I’m not sure why it’s being run twice, but it looks like this could be solved once I’ve figured out why the first (incorrect) email address is being used and not the second.

    • This reply was modified 8 years, 3 months ago by codepuncher.
    • This reply was modified 8 years, 3 months ago by codepuncher.
Viewing 1 replies (of 1 total)

The topic ‘Custom From Address with Formidable Forms’ is closed to new replies.