配置活动摘要邮件

:bookmark: 本指南介绍如何配置和管理 Discourse 中的活动摘要邮件,包括用户和管理员选项、自定义和故障排除。

:person_raising_hand: 所需用户级别:管理员

活动摘要邮件(以前称为摘要邮件)是发送给在特定时间段内未访问过论坛的论坛成员的自动消息。这些邮件包含自用户上次访问以来流行内容的一个集合,旨在重新吸引不活跃的成员。

了解活动摘要邮件

活动摘要邮件包括:

  1. 活动统计数据,以强调参与度水平
  2. 流行主题列表
  3. 精选帖子列表
  4. “对您是新的”主题链接

以下是活动摘要邮件示例:

系统仅在成员未访问论坛达到最短时间时才发送这些邮件。

配置用户选项

用户可以自定义其活动摘要邮件偏好设置:

  1. 转到用户偏好设置
  2. 导航到“邮件”选项卡
  3. 调整“活动摘要”频率

可用的频率选项有:

  • 从不
  • 每 30 分钟
  • 每小时
  • 每日
  • 每周
  • 每月
  • 每六个月

:information_source: 系统不会向被静音或暂停的成员发送活动摘要。

设置管理员选项

默认用户设置

要为新用户配置默认设置:

  1. 转到管理员 / 设置
  2. 搜索“digest”(摘要)
  3. 调整以下设置:
    • default email digest frequency(默认邮件摘要频率)
    • default include tl0 in digests(默认在摘要中包含 TL0)

以下是这些设置在管理员面板中的外观:

站点设置

要自定义活动摘要邮件:

  1. 转到管理员 / 设置
  2. 搜索“digest”(摘要)
  3. 根据需要修改以下设置:
    • digest logo(摘要徽标)
    • digest min excerpt length(摘要最小摘录长度)
    • digest topics(摘要主题)
    • digest posts(摘要帖子)
    • digest other topics(摘要其他主题)
    • suppress digest email after days(天后抑制摘要邮件)
    • digest suppress categories(摘要抑制类别)
    • digest suppress tags(摘要抑制标签)
    • show topic featured link in digest(在摘要中显示主题精选链接)
    • disable digest emails(禁用摘要邮件)

自定义邮件外观

要自定义邮件的外观:

  1. 转到管理员 / 设置
  2. 调整以下设置:
    • email accent bg color(邮件强调背景色)
    • email accent fg color(邮件强调前景颜色)

有关更高级的自定义,请参阅自定义邮件模板指南。

添加自定义内容

要在活动摘要邮件中添加自定义文本:

  1. 转到管理员 / 自定义 / 站点文本
  2. 搜索 user_notifications.digest.custom
  3. 编辑所需的自定义键

了解流行主题列表

摘要的流行主题是从 /top 主题中根据特定规则提取的:

  • 个人用户查看该主题的权限
    • 不向无权访问的用户发送来自私有类别的​​主题
  • 主题通知级别
    • 用户不应静音该主题
  • 创建该主题的用户信任级别必须大于 0
    • 此默认值可以被覆盖(见下文)
  • 主题必须是在用户上次查看或上次发送摘要(以较晚者为准)之后创建的
  • 主题不应来自被静音的类别
  • 主题不应关闭
  • 主题不应存档

测试活动摘要邮件

要预览活动摘要邮件:

  1. 转到管理员 / 邮件
  2. 点击“预览摘要”
  3. 设置 Last Seen User(上次查看用户)日期
  4. 输入要用于摘要邮件的 username(用户名)。
  5. 选择在站内查看或发送到电子邮件地址

以下是预览选项在管理员面板中的外观:

:information_source: 请注意,摘要邮件需要包含自 last seen user(上次查看用户)日期以来的一些活动才能填充内容,因此如果您的站点活动不多,您可能需要将此日期回溯几周。

故障排除

如果用户未收到活动摘要邮件,原因可能是:

  • 他们最近在站点上很活跃
  • 他们退订了活动摘要邮件
  • 最近已发送摘要
  • 他们的电子邮件被退回
  • 他们处于不活跃、暂停或暂存状态
  • 他们是通过 DiscourseConnect 创建的,并且从未访问过论坛

检查邮件发送日期

要检查上次向用户发送邮件的时间:

  • 检查 users 表中的 last_emailed_at 列
  • 检查 user_stats 表中的 digest_attempted_at 列

常见问题

是否有地方可以查看发送邮件数量的统计数据或报告?

您可以在站点的“管理员 / 邮件 / 已发送”页面查看已发送邮件的列表。您可以通过“发送邮件”仪表板报告(通过点击管理员仪表板上的“报告”链接找到)查看每天发送的邮件总数。

对于按邮件类型划分的详细报告,您可以使用 Data Explorer 插件查询 email_logs 表。

对于自托管站点,您通常也可以在您的交易邮件提供商处查看报告,其中还将包括投递状态、退回等信息。

发送邮件到论坛成员的技术要求和相关费用是多少?

对于自托管站点,需要一个像 Sendgrid 这样的交易邮件提供商的帐户。请查看邮件提供商推荐。

所有我们的托管方案都包含邮件投递。如果您选择我们的托管服务,所有与在您的 Discourse 站点上发送和接收邮件相关的事宜都将为您配置好。

附加资源

36 个赞
Is there a way to ensure certain topics are definitely included in the summary email?
Content of Digests
Email Summary - Disable
Activity Summary - option to turn off suppression when the user has been emailed
Managing Activity Summary email subscriptions
Send summary of new posts to chat instead of every post update
Email notifications?
How do I make automated weekly summary newsletter to community members?
Feature request: Include globally pinned topics in the Activity Summary
Turning on "Summary email" digests on a big community with a big past
Activity Summary not sent
Can an email digest be generated for the case where there are no new topics, only replies?
Can I hide information about new users in the digest email?
Request: Replacing/supplementing email with push notifications
Summary email limit sent in 1 hour
How can I fully personalise the appearance of emails?
Activity Summary emails not being sent
Activity summaries not sent to a particular user
Disabling summary frequency
How to make sure all emails are off unless used for activation or password reset
Activity Summary emails not being sent
Summary/digest popular topics: based on last seen, or on last emailed?
Activity Summary emails not being sent
Unsubscribing from a topic using email
Post_created data not matching actual posts
Emails not going out to all members
How to change which stats are shown within the digest email header?
What triggers the Email Digest?
Digest Emails Not Sending to All Users – Need Help Debugging