> 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/ja/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 のメール通知を無効にするか、カスタム *差出人* アドレスを [カスタムドメインを設定して](/brand/ja/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/set-up-a-domain-for-advocate.md) メールに使用します。

#### 通知メールの種類

プログラムルールを設定するときに使用できるアクションは 2 つあります [プログラムルール](/brand/ja/what-would-you-like-to-learn-about/advocate-program/getting-started-with-advocate/advocate-program-rules-explained.md) これがメールをトリガーします:

* **メールアクション:** このアクションは、プログラムルール内でメールルールがトリガーされたときにメールを送信します。
* **報酬:** トリガーされたルールから報酬が作成されると、メールもトリガーされます。

さらに、以下の理由で一部のメールがトリガーされる場合があります:

* **確認メール:** マイクロサイトおよびウィジェットで、ユーザーが提供したメールアドレスが有効であることを確認するために使用されます。
* **パスワードのリセット:** マイクロサイトでユーザーのパスワードをリセットするために使用されます。
* **W9 通知:** プログラムで、ユーザーが 1 暦年に報酬として 599 米ドルを超えて獲得し、W9 を提出する必要があることを示すために使用されます。
* **支払いリマインダーメール:** 現金報酬を獲得し、税務情報と銀行情報を提供するためにウィジェットまたはマイクロサイトに戻る必要があるユーザーに送信されます。

#### SMTP サーバーをプログラムに接続する

{% hint style="warning" %}
**重要：** カスタム SMTP サーバーを使用する場合は、選択した *差出人* ドメインのメールが受信者の迷惑メールフォルダに入ったり、まったく配信されなかったりしないよう、カスタム SMTP サーバーでメールを適切に認証できることを確保する責任があります。
{% endhint %}

1. 左側のナビゲーションメニューから、次を選択します ![](https://1458456015-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://1458456015-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/ja/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.
