> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arc.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Microsoft 365 Email Receive

> Arc フローの先頭でMicrosoft 365 メールボックスからメールを受信します。

Receive アクションは、Microsoft 365 メールボックスからメールを受信し、フローの下流に渡します。Microsoft 365 Email Receive コネクタは、Arc [フロー](https://docs.arc.cdata.com/26.4/self-hosted/ja/flows/flows.md)の先頭に配置します。

コネクタの**Action** タブで、次の設定を行います。

| 設定 | 説明 |
| - | - |
| **フォルダ** | メッセージを受信するメールフォルダです。フォルダの表示名、またはInbox のような既知のフォルダ名を指定できます。デフォルトは**Inbox** です。 |
| **ダウンロード** | コネクタが各メールをどのように出力するかを指定します。**Message**（デフォルト）は、メールを1つの.eml ファイルとして出力します。**Attachments** は、各添付ファイルを個別のメッセージとして出力します。添付ファイルのないメールは出力されませんが、ウォーターマークは進みます。 |

## アウトプットヘッダー

フローの下流に渡される各メッセージには、次のヘッダーが付与されます。

* `Microsoft365Email-Message-Id`
* `Microsoft365Email-Subject`
* `Microsoft365Email-Conversation-Id`
* `Microsoft365Email-Categories`（メッセージにOutlook カテゴリがない場合は付与されません）

## 受信フィルタ

The following filters appear on the [**Advanced** tab](https://docs.arc.cdata.com/26.4/self-hosted/ja/connectors/ms365email/ms365email.md#advanced-tab) and restrict which messages the connector retrieves on each poll.

<table><thead><tr><th>Setting</th><th>Description</th></tr></thead>
<tbody><tr><td>**Read State**</td><td>Restricts the messages retrieved to only unread or only read messages. Defaults to **Any**.</td></tr>
<tr><td>**Importance**</td><td>Restricts the messages retrieved to a single importance level. Defaults to **Any**.</td></tr>
<tr><td>**Attachments**</td><td>Restricts the messages retrieved to those with or without attachments. Defaults to **Any**.</td></tr>
<tr><td>**Category**</td><td>Restricts the messages retrieved to those stamped with the specified Outlook category. Leave empty to receive messages regardless of category.</td></tr>
<tr><td>**Conversation Id**</td><td>Restricts the messages retrieved to a single conversation thread. Each received message carries its conversation Id in the `Microsoft365Email-Conversation-Id` header, which is where this value comes from.</td></tr>
<tr><td>**Subject**</td><td>Restricts the messages retrieved to those whose subject contains the specified value. Leave empty to receive messages regardless of subject.</td></tr>
<tr><td>**Sender**</td><td>Restricts the messages retrieved to those sent from the specified email address. The address must match in full; a partial address or bare domain matches nothing. Leave empty to receive messages from any sender.</td></tr>
<tr><td>**Max Messages**</td><td>The maximum number of messages to retrieve in a single poll. Messages are retrieved oldest first, so remaining messages are picked up on the following poll. Defaults to **50**.</td></tr>
<tr><td>**Days To Search**</td><td>The number of days to look back when searching for messages. Defaults to **7**. When set to 0, no date limit is applied. When **Only Process New Messages** is enabled, this value is used only as a fallback when no prior receive watermark is available.</td></tr>
<tr><td>**Only Process New Messages**</td><td>When enabled (the default), the connector tracks the last message received and will not re-download it on subsequent polls. The connector uses a stored watermark as the primary date filter and falls back to **Days To Search** when the watermark is unavailable. When disabled, every poll retrieves messages within the **Days To Search** window without tracking state.</td></tr></tbody></table>

## 受信後のアクション

The following settings appear on the [**Advanced** tab](https://docs.arc.cdata.com/26.4/self-hosted/ja/connectors/ms365email/ms365email.md#advanced-tab) and control what happens to each message in the mailbox after it has been successfully received.

<table><thead><tr><th>Setting</th><th>Description</th></tr></thead>
<tbody><tr><td>**After Receiving**</td><td>What to do with each message in the mailbox once it has been successfully received. Options are **None** (the default), **Mark As Read**, **Apply Category**, and **Move To Folder**. Applying a category or moving the message avoids deleting mail from the source mailbox.</td></tr>
<tr><td>**Category Name**</td><td>The Outlook category applied to each received message, for example `Arc-Processed`. The category must already exist in the mailbox. Visible when **After Receiving** is set to **Apply Category**.</td></tr>
<tr><td>**Destination Folder**</td><td>The mail folder that received messages are moved into. Accepts a folder display name or a well-known folder name. Visible when **After Receiving** is set to **Move To Folder**.</td></tr></tbody></table>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.