The From field in MSPbots emails, notifications, and reports is customizable to use your company email instead of the default support@mspbots.ai. This article shows how to change the sender's email address using the OAuth2 method for more secure authorization.
What's on this page:
OAuth (Open Authorization) 2.0 is the modern standard to allow a website or application to access resources hosted by other web apps on behalf of a user. It adds security by providing consented access and restricting client actions performed on resources without sharing the user's credentials.
Now that basic authentication will be disabled and OAuth 2.0 is the new de facto industry standard for online authorization, MSPbots offers an option to add an extra authentication step in setting up the SMTP configuration for modifying the From field address for outgoing emails and sending reports. Users now have the option to use OAuth 2.0 in the Outgoing Mail settings.
If you prefer using only the basic authentication to modify the Outgoing Mail settings, refer to the article How to Configure the Outgoing Mail Using Basic Authentication.
You must have the following to perform the procedure below:
Follow these steps to generate the required information:
You can find this information with the following steps:
Go to Settings > System > Outgoing Mail in MSPbots.
Click v icon beside the +Add button and select OAuth2.
When the Add window opens, go to the Redirect URI field, copy the given URL to Notepad, and save it on your Desktop. You will need this later when adding a New registration.
Create a new app registration.
On the Microsoft Azure homepage, click App registrations. If you can't find App registrations on the page, search for it in the search bar.
When the App registrations page opens, click the +New registration tab.
In the Register an application form:
Name - Enter a unique name for your application.
Supported account types - Select Account in this organizational directory only (MSPbots.ai only - Single tenant) from the options.
Redirect URI (optional) - In the first box, select Web, and in the second box, enter the Redirect URI copied from Step 1.c.
Click Register.
Next, go to Certificates & secrets on the sidebar menu, then click +New client secret on the right under the Client secrets tab.
In the Add a client secret window:
Description - Add a description.
Expires - Select an expiry date from the dropdown menu.
Before the secret expires you must create a new secret and apply it to the MSPbots Outgoing Mail settings. |
The addition is successful once the Update application credentials pop-up window appears.
Next, go to API Permissions on the sidebar menu.
Go back to MSPbots and refresh the Outgoing Mail page to verify if the configuration works. The mailbox status should show Verified for a successful authentication. If the status is Not Verified, repeat Setting up OAuth 2.0 in MSPbots until the authorization is successful.