> 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 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/ja/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.
