Title: Notification Email Content Type
Last modified: August 22, 2016

---

# Notification Email Content Type

 *  [doublesharp](https://wordpress.org/support/users/doublesharp/)
 * (@doublesharp)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/notification-email-content-type/)
 * Hi,
 * I would like to send my notification emails as `text/plain` however the code 
   in `default_api.php` sets the content type to ‘text/html’. Would it be possible
   to make this an option or filter?
 * For example, this would be great in `default_api.php` line 519:
 *     ```
       add_filter( 'wp_mail_content_type', create_function( '', 'return "'.apply_filters( 'wp_crm_mail_content_type', 'text/html' ).'"; ' ) );
       ```
   
 * This would let the default content type be overwritten by the `wp_crm_mail_content_type`
   filter.
 * Thanks!
 * [https://wordpress.org/plugins/wp-crm/](https://wordpress.org/plugins/wp-crm/)

The topic ‘Notification Email Content Type’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-crm_c36510.svg)
 * [WP-CRM - Customer Relations Management for WordPress](https://wordpress.org/plugins/wp-crm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-crm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-crm/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-crm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-crm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-crm/reviews/)

## Tags

 * [email](https://wordpress.org/support/topic-tag/email/)

 * 0 replies
 * 1 participant
 * Last reply from: [doublesharp](https://wordpress.org/support/users/doublesharp/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/notification-email-content-type/)
 * Status: not resolved