--- title: "Microsoft 365 Outlook E-Mail Servers" slug: "microsoft-365-outlook-e-mail-servers" updated: 2024-09-24T14:56:12Z published: 2024-09-24T14:56:12Z canonical: "help.mail-and-deploy.com/microsoft-365-outlook-e-mail-servers" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mail-and-deploy.com/llms.txt > Use this file to discover all available pages before exploring further. # Microsoft 365 Outlook E-Mail Servers ### General This type of [E-Mail Server](/version340/docs/introduction-to-email-servers) uses Microsoft 365 Outlook for sending e-mails. ### Properties This type of e-mail server has the following properties: | Name | Description | | --- | --- | | Name | The name of the e-mail server. | | Tenant ID | The ID of the Azure AD tenant. | | Client ID | The client ID of the application that has been created in Azure AD (see below). | | Client Secret | The client secret of the application that has been created in Azure AD (see below). | | User ID | The ID of the user used to send e-mails. You can find the ID of the user in Azure AD portal when clicking on the user where you will find an *Object ID* that needs to be used here. | | Maximum Number Of Retries | The maximum number of retries to perform if sending an e-mail fails. | | Delay Between Retries | The delay betwen two retries if sending an e-mail fails. | ### Test Settings You can test the configured e-mail server by clicking the *Send Test E-Mail* button; you will be prompted to enter an e-mail address to send the test e-mail to. ### Azure AD Configuration In order to use Microsoft 365 Outlook e-mailing function through Mail & Deploy, you need to perform the following configuration steps: - In Azure AD, go to *App registrations* and register a new application or use an existing one (i.e. if you already have a Mail & Deploy associated application). The application (client) ID needs to be entered in the *Client ID* property of the e-mail server in Mail & Deploy. - Click *Certificates & secrets* and create a new client secret; you can name it *EMailing* or something similiar and you'll get a client secret you need to enter as the *Client Secret* property in Mail & Deploy. - Under *API permissions* you need to add the *Mail.Send* permission to the application.