# Email excerpts rather than full posts

**URL:** https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902
**Category:** Feature
**Created:** [12월 10, 2018, 2:37오후 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902 "2018-12-10T14:37:43Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Dani1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dani1/32/84172_2.png) [@Dani1](https://meta.discourse.org/u/Dani1)
#### Post date: [12월 10, 2018, 2:37오후 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902/1 "2018-12-10T14:37:43Z")

</div>

I would like all emailed posts (meaning both interactions and digest) to be excerpts rather than full posts.

Can this be done?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [12월 11, 2018, 4:22오전 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902/2 "2018-12-11T04:22:52Z")

</div>

There is a site setting to disable email leaking any site content (replacing it with generic text) for super private sites, but that’s it.

---

<div class="post-metadata">

### Author: ![tohaitrieu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tohaitrieu/32/151338_2.png) [@tohaitrieu](https://meta.discourse.org/u/tohaitrieu)
#### Post date: [8월 2, 2019, 5:04오후 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902/3 "2019-08-02T17:04:49Z")

</div>

Have you resolved this problem? I also want to send email in excerpt rather than full post but have no guide to do this.

---

<div class="post-metadata">

### Author: ![Dani1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dani1/32/84172_2.png) [@Dani1](https://meta.discourse.org/u/Dani1)
#### Post date: [8월 2, 2019, 5:27오후 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902/4 "2019-08-02T17:27:22Z")

</div>

> [@tohaitrieu](#):
>
> Have you resolved this problem?

Hiya,  
no, i haven’t.

---

<div class="post-metadata">

### Author: ![tohaitrieu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tohaitrieu/32/151338_2.png) [@tohaitrieu](https://meta.discourse.org/u/tohaitrieu)
#### Post date: [8월 2, 2019, 6:14오후 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902/5 "2019-08-02T18:14:17Z")

</div>

I think the only way is to edit the Email Template, remove %{message} from the Email Body, and replace it with some text.

On Sat, Aug 3, 2019 at 00:37, Dani1 via Discourse Meta [meta@discoursemail.com](mailto:meta@discoursemail.com) wrote:

---

<div class="post-metadata">

### Author: ![Dani1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dani1/32/84172_2.png) [@Dani1](https://meta.discourse.org/u/Dani1)
#### Post date: [8월 2, 2019, 7:58오후 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902/6 "2019-08-02T19:58:13Z")

</div>

i’ve been thinking of just suppressing all emails and send out a (manual) weekly digest through my email service. haven’t gotten that far yet, though.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [8월 2, 2019, 9:29오후 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902/7 "2019-08-02T21:29:27Z")

</div>

I don’t mind a setting here, is anything in place that could do this @neil? Max length of email or something?

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [8월 2, 2019, 9:54오후 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902/8 "2019-08-02T21:54:18Z")

</div>

Should be easy to add one.

> <https://github.com/discourse/discourse/blob/main/app/views/email/notification.html.erb#L8>

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [8월 2, 2019, 11:43오후 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902/9 "2019-08-02T23:43:38Z")

</div>

Sure let’s do that if it is easy.

---

<div class="post-metadata">

### Author: ![tohaitrieu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tohaitrieu/32/151338_2.png) [@tohaitrieu](https://meta.discourse.org/u/tohaitrieu)
#### Post date: [8월 5, 2019, 7:54오전 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902/10 "2019-08-05T07:54:24Z")

</div>

It means I will edit Discourse core code?  
I’m a newbie.

---

<div class="post-metadata">

### Author: ![tohaitrieu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tohaitrieu/32/151338_2.png) [@tohaitrieu](https://meta.discourse.org/u/tohaitrieu)
#### Post date: [8월 5, 2019, 8:08오전 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902/11 "2019-08-05T08:08:47Z")

</div>

I try and it show: cd: /var/discourse/app/views: No such file or directory

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [8월 6, 2019, 5:55오후 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902/13 "2019-08-06T17:55:19Z")

</div>

> [@tohaitrieu](#):
>
> It means I will edit Discourse core code?  
> I’m a newbie.

No, you can update now and you will get the new feature.

[https://github.com/discourse/discourse/commit/4b9d35cd0e6d2050f8103f9b5314fe43000f5e42](https://github.com/discourse/discourse/commit/4b9d35cd0e6d2050f8103f9b5314fe43000f5e42)

Enable the new setting “post excerpts in emails”:

 ![2019-08-06_13-54](https://global.discourse-cdn.com/meta/original/3X/a/f/af01736d52485b7795a40fee6675aae01a970202.png)

---

<div class="post-metadata">

### Author: ![tohaitrieu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tohaitrieu/32/151338_2.png) [@tohaitrieu](https://meta.discourse.org/u/tohaitrieu)
#### Post date: [8월 7, 2019, 7:22오전 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902/14 "2019-08-07T07:22:12Z")

</div>

Wonderful!  
Thank you!

---

<div class="post-metadata">

### Author: ![tohaitrieu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tohaitrieu/32/151338_2.png) [@tohaitrieu](https://meta.discourse.org/u/tohaitrieu)
#### Post date: [8월 7, 2019, 8:01오전 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902/15 "2019-08-07T08:01:10Z")

</div>

Hi @neil, I update and check but First Post still send full post

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [8월 7, 2019, 8:33오후 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902/16 "2019-08-07T20:33:55Z")

</div>

@tohaitrieu What do you mean that the first post still sends the full post? Did you set the “post excerpt maxlength” to what you want? Please post a screenshot of the email if you can.

---

<div class="post-metadata">

### Author: ![tohaitrieu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tohaitrieu/32/151338_2.png) [@tohaitrieu](https://meta.discourse.org/u/tohaitrieu)
#### Post date: [8월 8, 2019, 4:01오전 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902/17 "2019-08-08T04:01:46Z")

</div>

Hi @neil

This is my settings:

 ![54%20AM](https://global.discourse-cdn.com/meta/original/3X/a/4/a425272689272b225cd45c5c183333bc817d6815.png)

And my Email:

Email will sent full Post when I post new topic

 ![19%20AM](https://global.discourse-cdn.com/meta/original/3X/e/3/e34b426e498c9a623f3a597c78e56b249088f074.jpeg)

---

<div class="post-metadata">

### Author: ![tohaitrieu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tohaitrieu/32/151338_2.png) [@tohaitrieu](https://meta.discourse.org/u/tohaitrieu)
#### Post date: [8월 16, 2019, 11:43오전 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902/18 "2019-08-16T11:43:25Z")

</div>

@neil: Can you check this problem?

Email sent full post content without html format so terrible.

My post have about 1000 - 2000 words and It’s not good, have no traffic to website if my user can read full post via email.

Thank you!

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [8월 19, 2019, 7:14오후 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902/20 "2019-08-19T19:14:48Z")

</div>

@tohaitrieu I can’t reproduce it. Your settings look correct. I tested emails for a new topic in a watched category, and they showed excerpts in the email. I tested mailing list mode to see if that’s what you were using, but it also only showed excerpts. You’ll need to give me more details about what you’re doing. For example, which plugins do you have installed?

---

<div class="post-metadata">

### Author: ![tohaitrieu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tohaitrieu/32/151338_2.png) [@tohaitrieu](https://meta.discourse.org/u/tohaitrieu)
#### Post date: [8월 19, 2019, 7:21오후 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902/21 "2019-08-19T19:21:27Z")

</div>

@neil this is my plugin list:

 ![27%20AM](https://global.discourse-cdn.com/meta/original/3X/c/0/c02e39fe50134a022d8e2add0389ac7d4465b339.png)

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [8월 19, 2019, 7:24오후 UTC](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902/22 "2019-08-19T19:24:24Z")

</div>

Ok I don’t see anything in there that could cause it. Any other ideas?

[Next page](https://meta.discourse.org/t/email-excerpts-rather-than-full-posts/103902.md?page=2)
