Title: HTML emails
Last modified: March 8, 2019

---

# HTML emails

 *  Resolved [obito7621](https://wordpress.org/support/users/obito7621/)
 * (@obito7621)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/html-emails-12/)
 * Hi i tried your way now it adds the styles but it still removes some in-line 
   styles from my HTML mail which is again a problem. It stripes my in-line styles
   when saving to the database. I tried to add the whole HTML in the code but it
   sends a blank email this way. Please help. How can i achieve full HTML emails
   to be sent.

Viewing 1 replies (of 1 total)

 *  Thread Starter [obito7621](https://wordpress.org/support/users/obito7621/)
 * (@obito7621)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/html-emails-12/#post-11294292)
 * All you need to do is just remove wp_kses function (class-wp-members-admin-api.
   php -> line 232 ) when the plugin is saving the data to the database and now 
   you are all set to use all HTML email in the body without worrying if any tag
   will be removed.

Viewing 1 replies (of 1 total)

The topic ‘HTML emails’ is closed to new replies.

 * ![](https://ps.w.org/wp-members/assets/icon-256x256.png?rev=1226414)
 * [WP-Members Membership Plugin](https://wordpress.org/plugins/wp-members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-members/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-members/reviews/)

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [obito7621](https://wordpress.org/support/users/obito7621/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/html-emails-12/#post-11294292)
 * Status: resolved