Title: HTML support in notification email, code inside
Last modified: August 30, 2016

---

# HTML support in notification email, code inside

 *  Resolved [netnuvo](https://wordpress.org/support/users/netnuvo/)
 * (@netnuvo)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/html-support-in-notification-email-code-inside/)
 * Hi,
 * would it be possible to add in bbpress-notify-nospam.php after line 432:
 * $headers .= “MIME-Version: 1.0\r\n”;
    $headers .= “Content-Type: text/html; charset
   =UTF-8\r\n”;
 * I don’t know if you absolutely want to keep the emails sent by the plugin text
   only…
 * Thanks!
 * [https://wordpress.org/plugins/bbpress-notify-nospam/](https://wordpress.org/plugins/bbpress-notify-nospam/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [useStrict](https://wordpress.org/support/users/usestrict/)
 * (@usestrict)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/html-support-in-notification-email-code-inside/#post-6697825)
 * Hi netnuvo, thanks for reaching out.
 * The problem with setting HTML messages directly in the plugin is compatibility
   with other plugins. For example, WooCommerce sets the wp_mail() header filter
   for HTML messages. wpMandrill is also tricky when it comes to that. So if I set
   it in the plugin, I’ll probably break it for some people. I guess I *could* add
   an admin option to enable HTML messages. I’ll give it some thought later.
 * However, there are a couple of solutions for you: you can hook into `bbpnns_extra_headers`
   filter and set your HTML right there, or you can do what WooCommerce does and
   hook into [wp_mail_content_type](https://codex.wordpress.org/Plugin_API/Filter_Reference/wp_mail_content_type)
   filter directly.
 * I hope that helps.
 *  Plugin Author [useStrict](https://wordpress.org/support/users/usestrict/)
 * (@usestrict)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/html-support-in-notification-email-code-inside/#post-6697880)
 * Accidentally marked the topic as resolved instead of setting the follow-up notification
   🙂
 *  Plugin Author [useStrict](https://wordpress.org/support/users/usestrict/)
 * (@usestrict)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/html-support-in-notification-email-code-inside/#post-6698053)
 * Closing the ticket as fixed, as I haven’t heard back in a week.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘HTML support in notification email, code inside’ is closed to new replies.

 * ![](https://ps.w.org/bbpress-notify-nospam/assets/icon-256x256.png?rev=3449133)
 * [bbPress Notify (No-Spam)](https://wordpress.org/plugins/bbpress-notify-nospam/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bbpress-notify-nospam/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bbpress-notify-nospam/)
 * [Active Topics](https://wordpress.org/support/plugin/bbpress-notify-nospam/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bbpress-notify-nospam/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bbpress-notify-nospam/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [useStrict](https://wordpress.org/support/users/usestrict/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/html-support-in-notification-email-code-inside/#post-6698053)
 * Status: resolved