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

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

“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.

Thank you so much! =)

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?

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

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

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

Are they seeing a notification when they visit the forum?

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.

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".

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

Oops, missed the at mention part.

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

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.

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

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

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

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

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

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

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

另请参阅 https://meta.discourse.org/my/preferences/emails,您可以在其中开启“更频繁地给我发邮件”的用户偏好设置: