# 如何设置用户注册后立即发送欢迎邮件？

**URL:** <https://meta.discourse.org/t/how-to-set-a-welcome-email-to-be-sent-as-soon-as-a-user-signs-up/222491>\
**Category:** Support\
**Created:** [2022年三月30日 08:14 UTC](https://meta.discourse.org/t/how-to-set-a-welcome-email-to-be-sent-as-soon-as-a-user-signs-up/222491 "2022-03-30T08:14:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Helga\_Razinkova](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/helga_razinkova/32/249626_2.png) [@Helga\_Razinkova](https://meta.discourse.org/u/Helga_Razinkova)\
**Post date:** [2022年三月30日 08:14 UTC](https://meta.discourse.org/t/how-to-set-a-welcome-email-to-be-sent-as-soon-as-a-user-signs-up/222491/1 "2022-03-30T08:14:43Z")

</div>

我明白没有直接的方法，但也许有关于如何通过 API/webhooks 实现此功能的文档？

很遗憾，我还没有找到任何东西。  
谢谢！

---

<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:** [2022年三月30日 14:11 UTC](https://meta.discourse.org/t/how-to-set-a-welcome-email-to-be-sent-as-soon-as-a-user-signs-up/222491/2 "2022-03-30T14:11:25Z")

</div>

我不确定这是否可行：[GitHub - pfaffman/discourse-mailchimp-webhook](https://github.com/pfaffman/discourse-mailchimp-webhook)

或者 [Discourse Webhooks and Zapier](https://meta.discourse.org/t/discourse-webhooks-and-zapier/56753)

---

<div class="post-metadata">

**Author:** ![Helga\_Razinkova](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/helga_razinkova/32/249626_2.png) [@Helga\_Razinkova](https://meta.discourse.org/u/Helga_Razinkova)\
**Post date:** [2022年三月30日 14:56 UTC](https://meta.discourse.org/t/how-to-set-a-welcome-email-to-be-sent-as-soon-as-a-user-signs-up/222491/3 "2022-03-30T14:56:58Z")

</div>

非常感谢您的帮助！  
是我的错——我没有提到我们既不使用 Mailchimp 也不使用 Zappier——但还是谢谢您！

---

<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:** [2022年三月30日 20:02 UTC](https://meta.discourse.org/t/how-to-set-a-welcome-email-to-be-sent-as-soon-as-a-user-signs-up/222491/4 "2022-03-30T20:02:29Z")

</div>

您可能需要使用类似这些的东西，或者获取一个自定义插件。

---

<div class="post-metadata">

**Author:** ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)\
**Post date:** [2022年三月30日 20:25 UTC](https://meta.discourse.org/t/how-to-set-a-welcome-email-to-be-sent-as-soon-as-a-user-signs-up/222491/5 "2022-03-30T20:25:56Z")

</div>

我认为第一个自动消息会在用户浏览论坛约 15 分钟后出现，然后用户会被提升到信任等级 1。我写了一篇关于如何使用这些系统消息来欢迎新用户的指南：

> [@Customizing trust level promotion messages for new users](https://meta.discourse.org/t/welcoming-new-users-with-trust-level-messages/193270):
>
> bookmark This guide explains how to set up customized trust level promotion messages for new users, replacing the default Discourse narrative bot welcome process. person_raising_hand Required user level: Administrator Summary This guide will show you how to customize the onboarding journey for new users by replacing the default Discourse narrative bot welcome process with personalized trust level promotion messages. You’ll learn how to: Set up the site contact user Modify the default …

不过，这可能不是一个解决方案，具体取决于您想实现的目标。在 @pfaffman 建议的那一行，您也可以查看 [Discourse modules on Make](https://www.make.com/en/help/app/discourse)。

---

<div class="post-metadata">

**Author:** ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)\
**Post date:** [2022年四月1日 22:52 UTC](https://meta.discourse.org/t/how-to-set-a-welcome-email-to-be-sent-as-soon-as-a-user-signs-up/222491/6 "2022-04-01T22:52:17Z")

</div>

我喜欢 [Discourse Automation](https://meta.discourse.org/t/discourse-automation/195773) 来处理这类事情。我无法发送电子邮件，但我确实向新用户发送了自定义消息。我创建了一个自动化，当用户加入某个组时发送私信，在本例中是 `trust_level_0`。

这是完整自动化的截图：

 ![Screenshot 2022-04-01 at 15-28-09 Admin - Sandbox Discourse Kit](https://global.discourse-cdn.com/meta/original/3X/2/8/28d4807aeec46e96fa949848eddbed9c3d9a80a7.png)

创建新帐户后，我立即收到了私信：

 ![Screenshot 2022-04-01 at 15-26-21 Sandbox Discourse Kit - sdk](https://global.discourse-cdn.com/meta/original/3X/8/3/833e2e1c696cf6487a3cf6745efd28a22be4c66d.png)

以及私信本身：

 ![Screenshot 2022-04-01 at 15-27-05 Hello 222491 from Sandbox Discourse Kit! - Sandbox Discourse Kit](https://global.discourse-cdn.com/meta/original/3X/a/4/a44d8a1464ef822681d8e9729921fdfd4389f8c4.png)

哇，这很有趣，我只想玩转所有自动化！🕶

* * *

@Helga_Razinkova，如果现有操作不符合你的用例，你可能可以添加自己的操作，相关文档可在以下网址找到：

> [@Discourse Automation](https://meta.discourse.org/t/discourse-automation/195773):
>
> discourse2Summary Discourse Automation lets you automate actions through scripts and triggers. Customisation is made through an automatically generated UI.open_bookInstall Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately. Features Easy automation of complex workflows Triggers automations at specific dates, periodically, or on specific events Provides automatically generated …

---

<div class="post-metadata">

**Author:** ![Helga\_Razinkova](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/helga_razinkova/32/249626_2.png) [@Helga\_Razinkova](https://meta.discourse.org/u/Helga_Razinkova)\
**Post date:** [2022年四月2日 06:46 UTC](https://meta.discourse.org/t/how-to-set-a-welcome-email-to-be-sent-as-soon-as-a-user-signs-up/222491/7 "2022-04-02T06:46:18Z")

</div>

非常感谢您！我一定会把它展示给我们的开发团队 🙂

另外，非常感谢你们在这里提供的如此周到的帮助，这太棒了！
