PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Possible to send Multipart/plaintext/HTML notifications?

  1. I would like to be able to send out the email notifications as Multipart HTML/plain text. Is this possible? I did a search and saw a reference to something like this coming--but I'm not sure if it happened, or how to do it.

    Thanks!

    Posted 13 years ago on Sunday February 12, 2012 | Permalink
  2. Hi Sean,

    It would be possible to override Gravity Forms default mail settings with the "wp_mail_content_type" filter.

    [php]
    add_filter('wp_mail_content_type', 'set_mail_content_type');
    function set_mail_content_type($content_type){
        return 'text/plain';
    }

    Replace 'text/plain' with whatever format you wish to send your emails.

    Posted 13 years ago on Wednesday February 15, 2012 | Permalink
  3. Where would this code be entered into my form?

    Posted 13 years ago on Friday May 25, 2012 | Permalink
  4. Hi Barebones,

    This would go in your theme's functions.php file. More info here:

    http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F

    Posted 13 years ago on Friday May 25, 2012 | Permalink