Mail Server Setting
- Last UpdatedJan 05, 2024
- 4 minute read
The Mail Server Settings web page allows you to configure SMTP server and POP3 server to send and receive emails from the workflow.
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 Basic authentication while configuring SMTP server and POP3 server.
SMTP Settings
The SMTP settings specified here are the default settings used by AVEVA Work Tasks. These settings are used to send notifications in the form of emails. The email settings can also be specified at the Repository level.
|
Field Name |
Exchange Server configured On Premises |
Office 365 - Exchange Online |
|---|---|---|
|
Host |
Enter the name or IP address of the mail host. |
Enter the name for the Exchange Online server, as smtp.office365.com. |
|
Port |
Enter the port number for sending e-mails. The default port is 25. |
Enter the port number for sending e-mails. Ensure that you specify the value for port number as 587. |
|
Email Timeout |
Enter timeout for e-mails in seconds. The default timeout is 10000. |
Enter timeout for e-mails in seconds. The default timeout is 10000. |
|
Is SSL Enabled? |
This field is used to define if the e-mail has to be secured by SSL before it is sent. The default value is False. |
This field is used to define if the e-mail has to be secured by SSL before it is sent. Ensure that the value is always set to True. |
|
Authentication |
This field is used to select the authentication type - Basic or OAuth2. |
This field is used to select the authentication type - Basic or OAuth2. |
For Basic Authentication, provide details in the below fields:
Note: Sending emails anonymously is not supported, so provide the valid username (valid email address) and password for Basic authentication.
|
Field Name |
Description |
|
User Name |
Enter the user name for logging in to the mail server. Ensure that the user account is an Office 365 account with "administrator" privileges. |
|
Password |
Enter the password. |
|
Exception From Email |
Enter the e-mail Id that will be used to send exceptions which occurred during workflow execution. Note: Provide the valid email id that is specified for the User Name field. |
|
Exception To Email |
Enter the e-mail Id to which the emails detailing exceptions in the workflow execution must be sent. |
For OAuth2 Authentication (See Configure OAuth2 to Access Google Account to get the values for the below fields)
|
Field Name |
Description |
|
OAuth2 Token URI |
This field is used to specify the OAuth token URI. |
|
Authorization Code URI |
This field is used to specify the authorization code URI. |
|
Client Id |
This field is used to specify the client Id. |
|
Client Secret |
This field is used to specify the client secret. |
|
Redirection URI |
This field is used to specify the redirection URI. |
|
OAuth2 Scope |
This field is used to specify the OAuth2 Scope. |
|
Token Refresh |
This field is used to specify the time in Day.Hour:Minute.Second to refresh the token. |
POP3 Settings
The Mail Server settings identify the mail server to be used by the Work Tasks communication service for receiving e-mails.
Note: Sending emails anonymously is not supported, so provide the valid username (valid email address) and password for Basic authentication.
|
Server |
Field Name |
Description |
|---|---|---|
|
Default |
This option is selected to make Work Tasks communication server act as a mail server and process all emails received. |
|
|
Server IP |
This field is used to provide the IP address of the Work Tasks communication server. |
|
|
Server Port |
This field is used to enter the Port number used by the Work Tasks communication server. The default port is 25. |
|
|
POP3 |
This option is selected to setup POP3 mail servers. |
|
|
POP3 Host |
This field is used to enter the IP address of the POP Mail Host. |
|
|
POP3 Time Interval |
This field is used to set the time interval to check the mail server for emails. The format for this field is day.hour.minute.seconds. The default POP time is 0.00:00:15. |
|
|
POP3 Port |
This field is used to enter the port number for receiving emails. The default POP Mail Port is 110. |
|
|
Is SSL Enabled? |
This field is used to specify if a Secure Password Authentication is provided. Default value is false. |
|
|
For Basic Authentication |
||
|
Add Users |
The table is used to enter the User Name (valid email address) and Password of POP3 users. The Communication Engine makes use of this email address. To add another user, click Add User. |
|
|
For OAuth2 Authentication (See Configure OAuth2 to Access Google Account to get the values for the below fields) |
||
|
User Account |
This field is used to specify the email of the user. |
|
|
OAuth2 Token URI |
This field is used to specify the OAuth token URI. |
|
|
Authorization Code URI |
This field is used to specify the authorization code URI. |
|
|
Client Id |
This field is used to specify the client Id. |
|
|
Client Secret |
This field is used to specify the client secret. |
|
|
Redirection URI |
This field is used to specify the redirection URI. |
|
|
OAuth2 Scope |
This field is used to specify the OAuth2 Scope. |
|
|
Token Refresh |
This field is used to specify the time in Day.Hour:Minute.Second to refresh the token. |
|
In case of Default, the Work Tasks communication server will act as a mail server and process all emails received. The user should configure the Server IP and Server Port of the mail server.
If POP3 is not enabled in a mail server, then Default option can be used for getting the emails.
Note: In an Enterprise Server environment, you must create a machine specific email account for all the engines. The mails should be forwarded to all the engines.