# Digest email not working

**URL:** https://meta.discourse.org/t/digest-email-not-working/109372
**Category:** Support
**Tags:** activity-summary
**Created:** [2월 17, 2019, 2:27오후 UTC](https://meta.discourse.org/t/digest-email-not-working/109372 "2019-02-17T14:27:24Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![AndreaG](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andreag/32/128054_2.png) [@AndreaG](https://meta.discourse.org/u/AndreaG)
#### Post date: [2월 17, 2019, 2:27오후 UTC](https://meta.discourse.org/t/digest-email-not-working/109372/1 "2019-02-17T14:27:25Z")

</div>

I’m setting up a new forum and no digest email are beeing sent out.

Discourse Version: v2.3.0.beta2 +98

- activity summary for all users: → weekly
- All users have trust level 1
- summary preview is correctly working and can manually be sent out
- Last topics added yesterday in a public category
- Bootstrap: 0 (disabled)
- No errors in in the dashboard → Logs → Error logs

 ![Settings](https://global.discourse-cdn.com/meta/original/3X/1/f/1f05c38a1e718036be0cc58726790c0731de588d.jpeg)

There are users who did visit the forum more then 20 days ago and no digest has been yet sent to them.

I don’t know what else to check. Can you help me?

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [2월 17, 2019, 7:56오후 UTC](https://meta.discourse.org/t/digest-email-not-working/109372/2 "2019-02-17T19:56:52Z")

</div>

Can you first go to `/admin/email/sent` and filter by digest to confirm that none are being sent out?

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [2월 17, 2019, 8:03오후 UTC](https://meta.discourse.org/t/digest-email-not-working/109372/3 "2019-02-17T20:03:02Z")

</div>

Another good place will be `/sidekiq` to see if emails are getting queued but not sent.

---

<div class="post-metadata">

### Author: ![AndreaG](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andreag/32/128054_2.png) [@AndreaG](https://meta.discourse.org/u/AndreaG)
#### Post date: [2월 19, 2019, 6:58오전 UTC](https://meta.discourse.org/t/digest-email-not-working/109372/4 "2019-02-19T06:58:12Z")

</div>

The last sent digests were on 3. January, since then no one more has been sent out automatically.  
In the log I only see digest emails created manually by me.

Every other kind of automatic generated email work perfectly (mailing list, user mentioned, sign in by email, …).

There are no queued job in Sidekiq. I manually triggered Jobs::EnqueueDigestEmails with no results. The job starts and ends after few milliseconds, like it has nothing to process.

This morning I noticed this warning in `admin/logs/Error logs` I don’t know if it could be related to the digest issue:

```
Uncaught TypeError: Cannot read property 'users' of undefined
Url: https://forum.bibliotecadelsentiero.org/assets/ember_jquery-cf9339810550f9c92505dfbb37362c58a4a8a83bcee2d99174547b01c06ed7d3.js
Line: 15
Column: 5191
Window Location: https://forum.bibliotecadelsentiero.org/t/argomento-di-prova/167/2

```

---

<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: [2월 19, 2019, 8:06오전 UTC](https://meta.discourse.org/t/digest-email-not-working/109372/5 "2019-02-19T08:06:45Z")

</div>

No that is a client-side javascript error, completely unrelated to server-side mailing of digests.

---

<div class="post-metadata">

### Author: ![AndreaG](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andreag/32/128054_2.png) [@AndreaG](https://meta.discourse.org/u/AndreaG)
#### Post date: [2월 19, 2019, 5:02오후 UTC](https://meta.discourse.org/t/digest-email-not-working/109372/6 "2019-02-19T17:02:01Z")

</div>

After many trials I found why no email digest have not being send out: I wrongly set `admin/email/private email` to ON 😩

![image](https://global.discourse-cdn.com/meta/original/3X/4/6/46c48e467f9891e1be80cef16cbcae397b4fe04a.png)

It’s quite obvious, but let me suggest to put a little additional note in the setting description like (setting this ON will disable digest emails for all users). If set to ON I would also disable the Activity Summary feature in the user preference for all users, because it won’t work.

---

<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: [2월 20, 2019, 1:26오전 UTC](https://meta.discourse.org/t/digest-email-not-working/109372/7 "2019-02-20T01:26:17Z")

</div>

Sure let’s add that to the copy here @jomaxro

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2월 20, 2019, 1:43오전 UTC](https://meta.discourse.org/t/digest-email-not-working/109372/8 "2019-02-20T01:43:58Z")

</div>

Done via  
[https://github.com/discourse/discourse/commit/f0414487f086a5316b7fc32847c17cf7ec601f98](https://github.com/discourse/discourse/commit/f0414487f086a5316b7fc32847c17cf7ec601f98)

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2월 21, 2019, 11:00오후 UTC](https://meta.discourse.org/t/digest-email-not-working/109372/9 "2019-02-21T23:00:01Z")

</div>

This topic was automatically closed after 45 hours. New replies are no longer allowed.
