> This page is for Docs.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://zuora.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://zuora.ferndocs.com/_mcp/server.

# Configure external SMTP servers for Microsoft 365 using OAuth

> Describes how to configure the external SMTP server for Microsoft 365 using OAuth 2.0 authentication.

Describes how to configure the external SMTP server for Microsoft 365 using OAuth 2.0 authentication.

After the configuration is completed, Zuora sends emails to your customers using Microsoft's SMTP server when email notifications are triggered.

1. [Create an OAuth 2.0 Provider using the Authentication Code grant type](/docs/platform/extensibility/events-and-notifications/configure-email-settings/configure-external-smtp-servers-for-microsoft-365-using-oauth/create-an-oauth-2-0-provider-using-the-authentication-code-grant-type).
2. [Configure the external SMTP server settings for Microsoft 365](/docs/platform/extensibility/events-and-notifications/configure-email-settings/configure-external-smtp-servers-for-microsoft-365-using-oauth/configure-the-external-smtp-server-settings-for-microsoft-365).