Outgoing Mail Service
As of 2026.1, we have implemented a new outgoing mail client that supports OAuth2 for Microsoft, Gmail, and other providers and sending mail via Microsoft 365 Graph API instead of SMTP.
New Email Configuration
When running US-A Customize Settings to configure user settings, the email tab now has a new Config 365 button that can be used to configure an account that uses OAuth2 such as Microsoft 365 and Gmail.
Microsoft 365
Before setting this up in Evo, you will need to first configure your mail provider to allow sending the mail as shown below.
Microsoft App Configuration
To send mail via Microsoft 365, you need to register an app in the Entra ID configuration for your organization first. Please follow the steps below to create the app registration.
- Open the Microsoft Entra admin center.
- Go to Identity > Applications > App registrations.
- Select New registration.
- Enter a name, for example
EvoERP Email. - For account type, choose Accounts in this organizational directory only.
- Select Register.
- Copy the following two values. We will need them when configuring EvoERP:
- Application (client) ID
- Directory (tenant) ID
- In the app registration, go to Authentication.
- Select Add a platform.
- Choose Mobile and desktop applications.
- Add this redirect URI:
http://localhost - Save the configuration.
- In the app registration, go back to Authentication.
- Under Advanced Settings at the bottom, set Allow public client flows to Yes.
- Save the change.
- In the app registration, go to API Permissions.
- Select Add a permission.
- Select Microsoft Graph.
- Select Delegated Permissions.
- Add this permission:
Mail.Send - Select Add Permission. You may need to select Grand admin consent.
Configure EvoERP
Back in US-A for each user, bring up the MailClient Configuration by clicking the Config 365 button in the email tab and follow these steps:
- Change Account Type to Microsoft 365.
- Enter the user’s email address in the From email box.
- Enter the user’s name in the From name box.
- Enter the user’s email addresss again in the Auth user box unless they authenticate with a different name/email address. If you’re not sure, use their email address.
- Enter the client ID from the previous app registration setup in the Microsoft cliend ID box.
- Enter the tenant ID from the previous app registration setup in the Microsoft tenant box.
- Click Save settings.
- Click Authorize Oauth. This will open your web browser and have the user authenticate with Microsoft directly. After this process, return to the mail configuration window and confirm that it succeeded.
- Click Send test email and see if the email works. If not, contact us so we can assist.