# Suppress images for short emails

**URL:** <https://meta.discourse.org/t/suppress-images-for-short-emails/20235>\
**Category:** Feature\
**Created:** [19. September 2014 um 08:50 UTC](https://meta.discourse.org/t/suppress-images-for-short-emails/20235 "2014-09-19T08:50:58Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)\
**Post date:** [19. September 2014 um 08:50 UTC](https://meta.discourse.org/t/suppress-images-for-short-emails/20235/1 "2014-09-19T08:50:58Z")

</div>

To prevent Discourse emails being detected as spam, we should suppress images from short emails (having text length 2800 Bytes or less).

Currently short emails with images are detected as spam by [Apache SpamAssassin](http://spamassassin.apache.org), due to [HTML\_IMAGE\_ONLY\_24](https://wiki.apache.org/spamassassin/Rules/HTML_IMAGE_ONLY_24) rule.

I sent a PR for this:

[https://github.com/discourse/discourse/pull/2805](https://github.com/discourse/discourse/pull/2805)

Any suggestion/feedback on this?

cc @sam @codinghorror @supermathie

---

_[View the full topic](https://meta.discourse.org/t/suppress-images-for-short-emails/20235)._
