# What is "user was seen recently" defined as and can I change the value?

**URL:** https://meta.discourse.org/t/what-is-user-was-seen-recently-defined-as-and-can-i-change-the-value/74511
**Category:** Support
**Created:** [2017年十一月21日 13:35 UTC](https://meta.discourse.org/t/what-is-user-was-seen-recently-defined-as-and-can-i-change-the-value/74511 "2017-11-21T13:35:43Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![Axel\_Eriksson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/axel_eriksson/32/120471_2.png) [@Axel\_Eriksson](https://meta.discourse.org/u/Axel_Eriksson)
#### Post date: [2017年十一月21日 13:35 UTC](https://meta.discourse.org/t/what-is-user-was-seen-recently-defined-as-and-can-i-change-the-value/74511/1 "2017-11-21T13:35:43Z")

</div>

Hi!

I saw that some emails on our Discourse community were suppressed because “User was seen recently”.

I couldn’t find it in the settings nor searching on the meta forum for an answer: what is recently defined as and is there an opportunity to change it somewhere in the settings?

Axel

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2017年十一月21日 13:43 UTC](https://meta.discourse.org/t/what-is-user-was-seen-recently-defined-as-and-can-i-change-the-value/74511/2 "2017-11-21T13:43:16Z")

</div>

“email time window mins” is the variable you’re looking for, but there is also a user setting with a name like “email notification even if online” and a corresponding default value in site settings.

Mostly it is good not to get an email for a message got have seen already. If your users love email, you can turn on mailing list mode.

---

<div class="post-metadata">

### Author: ![Axel\_Eriksson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/axel_eriksson/32/120471_2.png) [@Axel\_Eriksson](https://meta.discourse.org/u/Axel_Eriksson)
#### Post date: [2017年十一月23日 10:41 UTC](https://meta.discourse.org/t/what-is-user-was-seen-recently-defined-as-and-can-i-change-the-value/74511/3 "2017-11-23T10:41:46Z")

</div>

Thank you so much! =)

---

<div class="post-metadata">

### Author: ![MAR](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mar/32/71419_2.png) [@MAR](https://meta.discourse.org/u/MAR)
#### Post date: [2018年三月23日 16:38 UTC](https://meta.discourse.org/t/what-is-user-was-seen-recently-defined-as-and-can-i-change-the-value/74511/4 "2018-03-23T16:38:48Z")

</div>

How do you turn on mailing list mode?

Also i have had an issue. I have created groups and I am trying to tag the group name with @mention. Despite doing this, no one is receiving an email inviting them to the group topic. How do I mitigate this?

---

<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年三月23日 20:54 UTC](https://meta.discourse.org/t/what-is-user-was-seen-recently-defined-as-and-can-i-change-the-value/74511/5 "2018-03-23T20:54:42Z")

</div>

> [@MAR](#):
>
> How do you turn on mailing list mode?

It’s in the user preferences but it can be turned off globally in site settings.

> [@MAR](#):
>
> I am trying to tag the group name with @mention

Do you mean you are trying to @-mention the group? To do that, you have to allow mentioning the group in group settings.

---

<div class="post-metadata">

### Author: ![MAR](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mar/32/71419_2.png) [@MAR](https://meta.discourse.org/u/MAR)
#### Post date: [2018年三月24日 16:28 UTC](https://meta.discourse.org/t/what-is-user-was-seen-recently-defined-as-and-can-i-change-the-value/74511/6 "2018-03-24T16:28:57Z")

</div>

I have tried this and I am still the group members are not getting anything in email regarding being mentioned in the community.

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/a/aae29c30082126859624dd16d669039544c61e70.png)

---

<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年三月24日 16:59 UTC](https://meta.discourse.org/t/what-is-user-was-seen-recently-defined-as-and-can-i-change-the-value/74511/7 "2018-03-24T16:59:07Z")

</div>

Are they seeing a notification when they visit the forum?

---

<div class="post-metadata">

### Author: ![MAR](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mar/32/71419_2.png) [@MAR](https://meta.discourse.org/u/MAR)
#### Post date: [2018年三月24日 17:50 UTC](https://meta.discourse.org/t/what-is-user-was-seen-recently-defined-as-and-can-i-change-the-value/74511/8 "2018-03-24T17:50:05Z")

</div>

They are yes once they have signed into the community. However our organization has asked that the various working groups can recieve the notice via email to draw them into the topics.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [2018年三月25日 07:36 UTC](https://meta.discourse.org/t/what-is-user-was-seen-recently-defined-as-and-can-i-change-the-value/74511/9 "2018-03-25T07:36:29Z")

</div>

Have the users:

1. Watch the category or topic you are doing announcements in
2. Go to /my/preferences/emails and turn on " Send me email notifications even when I am active on the site".

---

<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年三月25日 11:43 UTC](https://meta.discourse.org/t/what-is-user-was-seen-recently-defined-as-and-can-i-change-the-value/74511/10 "2018-03-25T11:43:12Z")

</div>

So there is no way to be emailed if one of your groups get mentioned?

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [2018年三月25日 18:08 UTC](https://meta.discourse.org/t/what-is-user-was-seen-recently-defined-as-and-can-i-change-the-value/74511/11 "2018-03-25T18:08:20Z")

</div>

Oops, missed the at mention part.

If they’re getting a “@” notification, an email should get generated.

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [2018年十二月1日 21:09 UTC](https://meta.discourse.org/t/what-is-user-was-seen-recently-defined-as-and-can-i-change-the-value/74511/12 "2018-12-01T21:09:02Z")

</div>

> [@pfaffman](#):
>
> “email time window mins” is the variable you’re looking for

I don’t think this is correct. That setting is how long to _delay_ sending an email after the post is created, to give the user time to edit it before it gets sent out. What we are discussing here is the mail being skipped entirely because the recipient has been on the site “recently.” What does “recently” mean, and can it be configured manually? The questions are unanswered so far as I can tell.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2019年十一月6日 20:25 UTC](https://meta.discourse.org/t/what-is-user-was-seen-recently-defined-as-and-can-i-change-the-value/74511/13 "2019-11-06T20:25:24Z")

</div>

> [@pfaffman](#):
>
> “email time window mins”就是你要找的变量，

事实证明这是正确的，如果有人有疑问的话。我查看这个是因为我正在尝试给自己发送一封测试邮件……

```plaintext
seen_recently = (user.last_seen_at.present? && user.last_seen_at > SiteSetting.email_time_window_mins.minutes.ago)

```

因此，如果你的“最后活跃时间”晚于 `email time window mins` 设置的时间，该邮件将被跳过。

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [2019年十一月6日 21:12 UTC](https://meta.discourse.org/t/what-is-user-was-seen-recently-defined-as-and-can-i-change-the-value/74511/14 "2019-11-06T21:12:32Z")

</div>

奇怪。设置页面中“邮件时间窗口（分钟）”的描述仅写道：“在发送任何通知邮件前等待 (n) 分钟，以便用户有机会编辑并最终确定其帖子。”

因此，要么该描述有误，要么它不完整，并且该变量还同时用于确定在该特定网站上“最近”的含义。我敢打赌它确实身兼两职。

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2019年十一月6日 21:25 UTC](https://meta.discourse.org/t/what-is-user-was-seen-recently-defined-as-and-can-i-change-the-value/74511/15 "2019-11-06T21:25:20Z")

</div>

> [@jtbayly](#):
>
> 我敢打赌，它是一物两用。

没错，我可以确认。它既按照设置描述中所说的那样使用，也用于判断某人何时不再属于“最近见过”。

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [2019年十一月6日 22:05 UTC](https://meta.discourse.org/t/what-is-user-was-seen-recently-defined-as-and-can-i-change-the-value/74511/16 "2019-11-06T22:05:13Z")

</div>

@pfaffman 获得奖品，那么。请有人将他的回答标记为正确。🙂

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2019年十一月6日 22:20 UTC](https://meta.discourse.org/t/what-is-user-was-seen-recently-defined-as-and-can-i-change-the-value/74511/17 "2019-11-06T22:20:06Z")

</div>

另请参阅 [https://meta.discourse.org/my/preferences/emails，您可以在其中开启“更频繁地给我发邮件”的用户偏好设置：](https://meta.discourse.org/my/preferences/emails%EF%BC%8C%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%9C%A8%E5%85%B6%E4%B8%AD%E5%BC%80%E5%90%AF%E2%80%9C%E6%9B%B4%E9%A2%91%E7%B9%81%E5%9C%B0%E7%BB%99%E6%88%91%E5%8F%91%E9%82%AE%E4%BB%B6%E2%80%9D%E7%9A%84%E7%94%A8%E6%88%B7%E5%81%8F%E5%A5%BD%E8%AE%BE%E7%BD%AE%EF%BC%9A)

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/7/8712a2f450834fb14ce39062c06fe6309d2d0542.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: [2019年十二月6日 22:30 UTC](https://meta.discourse.org/t/what-is-user-was-seen-recently-defined-as-and-can-i-change-the-value/74511/18 "2019-12-06T22:30:24Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
