Created
March 30, 2023 12:36
-
-
Save goatboy91587/585015eca8b25201a0e69f985d89eff4 to your computer and use it in GitHub Desktop.
Add Header to Gravity Forms Notification Email for GoldMine CRM and WebImporting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Add email header to Gravity Forms notification email for GoldMine WebImporting | |
//This adds to all notification emails. Use logic for specific forms via form ID | |
add_filter( 'gform_pre_send_email', function( $email ) { | |
$email['headers']['Content-type'] = 'Content-Type: text/x-gm-impdata'; | |
return $email; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment