I really need to make my notification emails TEXT rather than HTML.
I've seen that I should do this in the common.php file, but not sure where or how.
Any help would be very appreciated. Thanks.
I really need to make my notification emails TEXT rather than HTML.
I've seen that I should do this in the common.php file, but not sure where or how.
Any help would be very appreciated. Thanks.
In Gravity Forms v1.6, which is currently a test release, there is a hook that can be used to set the format of the email. It is documented here:
http://www.gravityhelp.com/documentation/page/Gform_notification_format
Found a bug in gform_notification_format. Missing parameter in the filter.
Original in common.php:
$message_format = apply_filters("gform_notification_format_{$form["id"]}", apply_filters("gform_notification_format", "html", "admin", $form, $lead), $form, $lead);
Fixed:
$message_format = apply_filters("gform_notification_format_{$form["id"]}", apply_filters("gform_notification_format", "html", "admin", $form, $lead), "admin", $form, $lead);
Hi Erictan,
Thanks for catching this. It's been updated. Would you like the updated version or can you hold off until 1.6 is released next week?
No hurry. I have already fixed it on my server.
Thank you for catching that.