# 如何向所有最近活跃的用户发送邮件？

**URL:** https://meta.discourse.org/t/how-can-i-email-all-recently-active-users/83963
**Category:** Support
**Created:** [2018年三月27日 13:50 UTC](https://meta.discourse.org/t/how-can-i-email-all-recently-active-users/83963 "2018-03-27T13:50:42Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [2018年三月27日 13:50 UTC](https://meta.discourse.org/t/how-can-i-email-all-recently-active-users/83963/1 "2018-03-27T13:50:43Z")

</div>

Hey guys,

I’d like to be able to email all recently active users of my site in order to warn them of outages for upgrades and let them know when the site is down and back up.

So:

- Is there any way to send a broadcast to _only_ recently active users - I have many old accounts and I shouldn’t need to email all users unnecessarily
- Is this even sensible given the short downtime of an upgrade?

Ideas?

Thanks

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2018年三月27日 14:18 UTC](https://meta.discourse.org/t/how-can-i-email-all-recently-active-users/83963/2 "2018-03-27T14:18:38Z")

</div>

The best way to warn your **active** users about anything is to create a banner topic 😉

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [2018年三月27日 15:35 UTC](https://meta.discourse.org/t/how-can-i-email-all-recently-active-users/83963/3 "2018-03-27T15:35:54Z")

</div>

So are you implying that there is no easy way to reach out to **recently active** users? If all active users is not enough, I suppose the easiest would be to do a [data explorer](https://meta.discourse.org/t/32566?silent=true) query (requires the [Discourse Data Explorer](https://meta.discourse.org/t/data-explorer-plugin/32566)).

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2018年三月27日 15:38 UTC](https://meta.discourse.org/t/how-can-i-email-all-recently-active-users/83963/4 "2018-03-27T15:38:22Z")

</div>

If they’re active, it means they’re on the site. If they’re on the site, they’ll see the banner.  
If they aren’t on the site, why bother warning them?

If you **really** want to bother them, sure, you can extract that information using the [Data Explorer](https://meta.discourse.org/t/32566?silent=true) plugin.

---

<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: [2018年三月27日 23:49 UTC](https://meta.discourse.org/t/how-can-i-email-all-recently-active-users/83963/5 "2018-03-27T23:49:09Z")

</div>

![bragging](https://global.discourse-cdn.com/meta/original/3X/4/4/44862a84c0c1dcb837093b828392e2789c368e64.png)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2020年七月24日 22:00 UTC](https://meta.discourse.org/t/how-can-i-email-all-recently-active-users/83963/6 "2020-07-24T22:00:33Z")

</div>


