> For the complete documentation index, see [llms.txt](https://doc.duaer.com/zh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/zh/build/outlook.md).

# 在 Duaer 里用 Outlook 发邮件

在 Duaer 里，Microsoft Outlook 默认 Authentication 是 Outlook OAuth2，Resource 是 Message，Operation 是 Send。To 必填。需要 microsoftOutlookOAuth2Api 凭据。
## 发一封邮件

1. 先建好 microsoftOutlookOAuth2Api 凭据（或按面板改用 Microsoft OAuth2 / Entra Service Principal）。
2. 搜索 Microsoft Outlook，接到上一个节点后面，选上凭据。
3. Resource 保持 Message，Operation 保持 Send。
4. 填 To。可选填 Subject、Message。正文类型在 Additional Fields 的 Message Type（默认 HTML）。
5. 点执行此步骤。

Message 下还有 Get、Get Many、Update、Delete、Reply、Move、Send and Wait for Response。也有 Draft、Event、Calendar 等 Resource。

Gmail 发信见 [在 Duaer 里用 Gmail 发邮件](/zh/build/gmail.md)；SMTP 见 [在 Duaer 里用 Send Email 发邮件](/zh/build/send-email.md)。
## Questions

### Duaer 的 Outlook Authentication 默认是什么？

Outlook OAuth2（microsoftOutlookOAuth2Api）。也可用 Microsoft OAuth2（Graph）或 Entra Service Principal。

## 相关

- [在 Duaer 里用 Gmail 发邮件](https://doc.duaer.com/zh/build/gmail.md)
- [在 Duaer 里用 Send Email 发邮件](https://doc.duaer.com/zh/build/send-email.md)
- [在 Duaer 里用 Google Calendar 创建日程](https://doc.duaer.com/zh/build/google-calendar.md)

