> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/advocate-program-settings/set-up-an-advocate-smtp-email-integration.md).

# 设置 Advocate SMTP 邮件集成

要管理通知邮件，您可以设置自己的简单邮件传输协议 (SMTP) 服务器，并停用 Advocate 的邮件通知；也可以使用 Advocate 内置服务，并通过自定义 *发件人* 地址，方法是 [为邮件配置自定义域名](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/set-up-a-domain-for-advocate.md) 。

#### 通知邮件类型

配置 [计划规则](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/getting-started-with-advocate/advocate-program-rules-explained.md) 时，可使用两种操作来触发邮件：

* **邮件操作：** 当计划规则中的邮件规则被触发时，此操作会发送邮件。
* **奖励：** 根据触发的规则创建奖励时，也会触发邮件。

此外，以下情况也会触发某些邮件：

* **验证邮件：** 微型网站和小组件会使用此邮件验证用户提供的邮箱是否有效。
* **密码重置：** 微型网站会使用此邮件重置用户密码。
* **W9 通知：** 当用户在一个日历年内获得的奖励超过 599 美元时，计划会发送此通知，告知用户需要提供 W9 表格。
* **付款提醒邮件：** 发送给已获得现金奖励的用户，提醒他们返回小组件或微型网站，提供税务和银行信息。

#### 将 SMTP 服务器连接到计划

{% hint style="warning" %}
**重要提示：** 使用自定义 SMTP 服务器时，您有责任确保该服务器能够正确验证您所选 *发件人* 域名发送的邮件，以免邮件被收件人归入垃圾邮件文件夹，或完全无法送达。
{% endhint %}

1. 在左侧导航菜单中，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-b527686787b925f477dff4feb9be3a63f51250a7%2Fdcf31aa89710c2f91d880b79ce8d8c18489cd8cad334e5cd91dd7ee0372a44fd.svg?alt=media) **\[用户个人资料]** → **设置**.
2. 在左侧栏的 *Advocate 设置*下方，选择 **集成**.
3. 前往 *自定义 SMTP 邮件服务器*，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-3ca70a1ff22f0720bfb8c9e284c7d8178e3a547b%2Fb6a126b0775291b814c5a97f83039ef72ba42d6d02b0fe20f4790213ea01961e.svg?alt=media) **\[展开]** 以展开此部分，然后输入 SMTP 服务器的详细信息。必填字段包括：
   * **SMTP 服务器主机名和端口：** 用于发送邮件的外发邮件服务器地址和端口。
   * **身份验证方法：** 选项包括 *无*, *传输层安全性 (TLS)*&#x548C; *安全套接字层 (SSL)*.
   * **测试连接的发件人地址** (*可选）*：提供一个 *发件人* 用于测试 SMTP 服务器的电子邮件地址。
   * **用户名和密码：** 所选账户的电子邮件地址登录用户名和密码。
4. 选择 **连接** 以将 SMTP 服务器连接到您的程序。
5. 启用后，您可以发送测试邮件，以确保连接设置正确。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/advocate-program-settings/set-up-an-advocate-smtp-email-integration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
