> 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) 来触发电子邮件：

* **电子邮件操作：** 当程序规则中触发该邮件规则时，此操作将发送电子邮件。
* **奖励：** 当根据被触发的规则创建奖励时，也会触发电子邮件。

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

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

#### 为您的程序连接 SMTP 服务器

{% hint style="warning" %}
**重要：** 当您使用自定义 SMTP 服务器时，您有责任确保自定义 SMTP 服务器能够正确为您所选择的 *发件人* 域名对电子邮件进行身份验证，以避免邮件被放入收件人的垃圾邮件文件夹或根本无法送达。
{% endhint %}

1. 从左侧导航菜单中选择 ![](/files/7e98afd4e334c165e5d5781599a29836d600e210) **\[用户资料]** → **设置**.
2. 在左侧栏中，位于下方 *Advocate 设置*下，选择 **集成**.
3. 导航至 *自定义 SMTP 邮件服务器*下，选择 ![](/files/724207cd384cb04254f395812b496d20a45599e8) **\[展开]** 以展开该部分，并输入您的 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
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=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
