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

**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:** 1\
**Showing post:** 6

<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 …

---

_[View the full topic](https://meta.discourse.org/t/how-to-set-a-welcome-email-to-be-sent-as-soon-as-a-user-signs-up/222491)._
