- 03 Dec 2024
- 1 Minute to read
- DarkLight
Microsoft 365 Outlook E-Mail Servers
- Updated on 03 Dec 2024
- 1 Minute to read
- DarkLight
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 |
---|---|
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. Version 3.5.7 and lower. |
Sender Address | The sender e-mail address to use when sending e-mails through the e-mail server. Version 3.5.8 and higher. |
Reply-To Address | The e-mail address to which replies by recipients of e-mails send through the e-mail server shall be sent. Version 3.5.8 and higher. |
Maximum Number Of Retries | The maximum number of retries to perform if sending an e-mail fails. |
Delay Between Retries | The delay between 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 Microsoft.Graph Mail.Send permission to the application. Note, this should be the 'Application' permission, not the 'Delegated' permission.