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)

즉, “last seen at” 시간이 email time window mins 설정 값보다 크면 이메일이 건너뛰어집니다.

이상하네요. 설정 페이지의 ‘email time window mins’ 항목 설명에는 "사용자가 게시글을 수정하고 마무리할 시간을 주도록, 알림 이메일을 보내기 전에 (n)분 대기합니다."라고만 적혀 있어요.

그러니까 설명이 틀린 건지, 아니면 설명이 불완전해서 해당 변수가 이 사이트에서 "최근"을 판단하는 기준으로도 이중으로 사용되고 있는 건지 모르겠네요. 제 생각엔 이중으로 사용되고 있을 가능성이 높습니다.

네, 확인했습니다. 설정 설명에 나와 있는 용도로 사용되고, 또한 누군가가 더 이상 "최근에 본 적"이 아닌지 판단하는 데도 사용됩니다.

그럼 상은 @pfaffman에게 가는 거네요. 누군가 그 답변을 정답으로 표시해 주세요. :slight_smile:

Discourse Meta - The Official Support Forum for Discourse 에서 이메일을 더 자주 받도록 설정할 수 있는 사용자 설정을 활성화할 수 있습니다: