> 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 邮件集成

要管理通知邮件，你可以自行搭建 Simple Mail Transfer Protocol（SMTP）服务器并禁用 Advocate 的邮件通知，或者使用 Advocate 的内置服务并通过自定义 *发件人* 地址，通过 [配置自定义域名](/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/set-up-a-domain-for-advocate.md) 用于你的电子邮件。

#### 通知邮件类型

在配置 [计划规则](/brand/zh/what-would-you-like-to-learn-about/advocate-program/getting-started-with-advocate/advocate-program-rules-explained.md) 将触发电子邮件的：

* **电子邮件操作：** 当程序规则中触发该电子邮件规则时，此操作将发送电子邮件。
* **奖励：** 当某个奖励由被触发的规则创建时，它也会触发一封电子邮件。

此外，某些电子邮件也可能因以下原因触发：

* **验证邮件：** 用于 microsite 和 widget 验证用户提供的电子邮件地址是否有效。
* **密码重置：** 用于 microsite 重置用户的密码。
* **W9 通知：** 由程序用于表明用户在单个日历年内已获得超过 599 美元的奖励，需要提交 W9 表格。
* **付款提醒邮件：** 发送给已获得现金奖励并需要返回 widget 或 microsite 以提供税务和银行信息的用户。

#### 将 SMTP 服务器连接到你的程序

{% hint style="warning" %}
**重要：** 当你使用自定义 SMTP 服务器时，你有责任确保你的自定义 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）*，以及 *安全套接字层（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.
