Configuring SMTP Settings
- Last UpdatedOct 27, 2023
- 2 minute read
The SMTP Server settings identify the mail server to be used by the Work Tasks communication service for sending e-mails. You can configure the SMTP server using Central Configuration.
To configure SMTP Server with OAuth2 authentication, you need to provide the following OAuth2 authorization details:
-
User Account
-
OAuth2 Token URI
-
Authorization Code URI
-
Client Id
-
Client Secret
-
Redirection URI
-
OAuth2 Scope
-
Token Refresh
An example of Google account is considered to explain how to get the OAuth2 authorization details. For more information on configuring OAuth2 details, see Configure OAuth2 to Access Google Account.
To configure SMTP Server
-
On the Windows Start menu, point to Programs, point to AVEVA, and then click Central Configuration.
The Central Configuration web page appears.
-
Click Mail Server Settings.
-
Select SMTP Settings tab.
The Manage SMTP Settings page appears.
-
In the Host box, enter the SMTP server name.
-
In the Port box, enter the SMTP server port.
-
In the Email Timeout box, enter the timeout for emails in seconds.
-
For Is SSL Enabled? field, select True for secured password authentication.
-
For Authentication field, select either Basic or Oauth2.
-
For Basic authentication, provide the Username and Password for accessing the SMTP mail server. Also, provide e-mail address in Exception From Email and Exception To Email. Click Save button to save the configuration.
Note: Configuring the mail host with a valid username and password is mandatory. Sending emails anonymously is not supported, so provide the valid username and password.
-
For Oauth2 authentication, provide details in the fields shown in the screen below.

See step 8 mentioned in Configure OAuth2 to Access Google Account to get the values for OAuth2 Token URI, Authorization Code URI, Client Id, Client Secret, and Redirect URI fields.
Provide the URL http://<MachineName>:8000/CentralConfig/SMTPConfig.aspx in Redirect URI field to configure SMTP server.
-
Click Get Access Token to get the access token. You are navigated to your mail account. For example, Google account is considered here.
-
Click Continue for verification and to provide access to your Google account to get the access token.
-