Manuales
Comunicación: Notificaciones
Setting up Sending Emails from Quant Using the Microsoft Graph API
Setting up Sending Emails from Quant Using the Microsoft Graph API
In Quant, you can send emails using the Microsoft Graph API. To enable this feature, you need to create a new application in Microsoft Entra.
Microsoft Entra Settings
- In the sidebar select App Registrations.
- Click on New Registration.
- Enter a name, for example Quant Mail Graph API.
- Click Register.
- You should now be on the page for the newly registered applications, as shown in the image below. Please note the following:
Application (client) ID represents Client ID in Quant.
Directory (tenant) ID represents Tenant ID in Quant. - Click Add a certificate or secret.
- Click New client secret.
- Enter a description of your choice and the expiration interval.
- Click Add.
- Note down the Value, which will later be entered into Quant as the Client Secret.
The Client Secret must be renewed (a new one generated) before it expires. Otherwise, sending emails from Quant will stop working.
- Open API Permissions.
- Select Add a Permission.
- On the ride side of the screen, select Microsoft Graph as the API.
- Select Application permissions.
- In the permissions, check Mail.Send.
- Click Add Permissions.
- After that Grant Admin consent and confirm.
Configuring the Mail server in Quant
- In Quant Desktop, open Azure Credentials in the sidebar under Automatic Tasks.
- Select New and enter the Tenant ID, Client ID, and Client Secret form the previous steps.
- Click OK.
Access to the Aure Credentials tab must first be enabled in the user's desktop access.
- Open Mail Server Settings in the Options menu.
- Select Microsoft Graph.
- From Address is the address from which Quant will send emails. The user must have SendAs permissions for the selected From Address. Alternatively, use the same From Address as the Username.
- Save the settings by clicking the OK.
You can test whether the Mail Server settings are working by sending a test email.
To ensure that individual notifications are sent correctly, you must configure Notification Settings in the desktop.