Title: Filter out Office365 extra code?
Last modified: August 13, 2018

---

# Filter out Office365 extra code?

 *  Resolved [flowergirl](https://wordpress.org/support/users/flowergirl/)
 * (@flowergirl)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/filter-out-office365-extra-code/)
 * My client uses Office365 and it fills his email with a ton of unnecessary code—
   empty paragraphs, classes, and meaningless inline styles — much of which is of
   no consequence, BUT, it does add in two <div>s at the beginning (and end) of 
   the message that affect the cascade of the style sheet specifiers and prevents
   things like lists from rendering correctly.
 * Is there any way to strip/filter this unneeded html? I hope the answer isn’t 
   to go all the way to straight text, as my client would like to “make it look 
   pretty.”
 * As a last resort, I suppose I could add some css to at least get the lists to
   look OK, but would rather hit it from head end.
 * Thanks

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

 *  Plugin Author [Wayne Allen](https://wordpress.org/support/users/wayneallen-1/)
 * (@wayneallen-1)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/filter-out-office365-extra-code/#post-10587699)
 * Take a look at [http://postieplugin.com/downloads/clean-html-addon/](http://postieplugin.com/downloads/clean-html-addon/)
 *  Thread Starter [flowergirl](https://wordpress.org/support/users/flowergirl/)
 * (@flowergirl)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/filter-out-office365-extra-code/#post-10593753)
 * Oh.. ok that looks like just what I need! Now to try to convince my client to
   pay for it. : ) Thanks!
    -  This reply was modified 7 years, 9 months ago by [flowergirl](https://wordpress.org/support/users/flowergirl/).
      Reason: mark as solved

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

The topic ‘Filter out Office365 extra code?’ is closed to new replies.

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

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [flowergirl](https://wordpress.org/support/users/flowergirl/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/filter-out-office365-extra-code/#post-10593753)
 * Status: resolved