Microsoft 365 Outlook E-Mail Servers
  • 21 Aug 2024
  • 1 Minute to read
  • Dark
    Light

Microsoft 365 Outlook E-Mail Servers

  • Dark
    Light

Article summary

General

This type of E-Mail Server uses Microsoft 365 Outlook for sending e-mails.

Properties

This type of e-mail server has the following properties:

Name

Description
NameThe name of the e-mail server.
Sender AddressThe sender e-mail address to use when sending e-mails through the e-mail server.
Reply-To AddressThe e-mail address to which replies by recipients of e-mails send through the e-mail server shall be sent.
Tenant IDThe ID of the Azure AD tenant.
Client IDThe client ID of the application that has been created in Azure AD (see below).
Client SecretThe client secret of the application that has been created in Azure AD (see below).
User IDThe 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 RetriesThe maximum number of retries to perform if sending an e-mail fails.
Delay Between RetriesThe 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. Note, this should be the 'Application' permission, not the 'Delegated' permission.

Was this article helpful?