Email notifications are essential for keeping administrators informed about important events, alerts, and system activities within Devolutions Server. This guide explains how to configure SMTP, including both standard SMTP setup and integration with Azure authentication.
Configure a basic SMTP email in Devolutions Server by following the steps below.
In Devolutions Server, go to Administration – Server settings – Email.
In the Server type drop-down list, select SMTP.
In the Administrator email field, enter the recipient email address that will receive the errors.
Enter the name or IP address of the SMTP server.
Select the SMTP server port.
Enter the username used to connect to your SMTP server.
Enter the password used to connect to your SMTP server.
Set a specific security for the connection to the mail server. Choose between the following:
No encryption
Automatic based on port number
Use SSL or TLS immediately (SMTPS)
Use TLS immediately after the initial connect
Use TLS if the server supports it after the initial connection
Enter the sender's email address.
Once the information has been provided, test your email settings with the Test email button.
If successful, Save your configuration using the icon at the top right.
In Devolutions Server, the modern authentication for Azure can be used for the email configuration. Before proceeding with the configuration in Devolutions Server, you must perform the following in your Azure portal:
Create an app registration. You can also reuse the one used for Azure AD / Office 365 authentication.
Add the "Mail.Send" application permission.
You can now configure the SMTP email in Devolutions Server.
In Devolutions Server, go to Administration – Server settings – email.
In the Authentication type drop-down list, select Azure.
Go to the Administrator email field and enter the recipient email address that will receive the errors.
Enter the ID of the application In the Client ID field. In the Azure portal, this information is called Application (client) ID and can be found in the Overview of your app.
In the Tenant ID field, enter the ID of the tenant that can be found in the Overview of your application.
Once the information has been provided, test your email settings with the Test email button.
If successful, Save your configuration using the icon at the top right.
Please note that emails can only be sent to accounts of the same tenant; they cannot be sent externally.
In the User ID field, enter the ID of the user that is listed in the "From" section of the email.
In the Secret value field, enter the client secret. Either reuse the already existing Azure AD authentication secret or create a new one in your app registration by going to the Certificates & secret section and clicking on New client secret.
Once the information has been provided, test your email settings with the Test Email button.
If successful, Save your configuration using the icon at the top right.