To receive Fatal and Error alerts as email messages, do the following:
- On the machine you have Orchestrator installed on, navigate to the Web.config file (by default - C:\inetpub\UiPathOrchestrator).
- Set the Alerts.Email.Enabled parameter to true.
- Save your settings.
- Navigate to https://security.google.com/settings/security/apppasswords.
- Sign in using the e-mail address you want to send mail messages from Orchestrator.
- From the Select App drop-down list, select Mail.
- From the Select Device drop-down list, select Windows Computer.
- Click Generate. The Generated App Password window is displayed with an app password.
- Copy the previously generated app password to the Clipboard.
- In Orchestrator, in the Settings page, configure the settings as follows:
Abp.Net.Mail.DefaultFromAddress - the email address from which to send mail messages (the same used at step 5), in our case firstname.lastname@example.org
Abp.Net.Mail.Smtp.EnableSsl - true
Abp.Net.Mail.Smtp.Host - smtp.gmail.com (Google SMTP server)
Abp.Net.Mail.Smtp.UserName - the email address you want to sent e-mails from, in our case email@example.com
Abp.Net.Mail.Smtp.Password - the app password generated at steps 5 - 7 of the email address you want to use (specified in the Abp.Net.Mail.Smtp.UserName parameter)
Abp.Net.Mail.Smtp.Port - 587 (default Google SMTP port)
Abp.Net.Mail.Smtp.UseDefaultCredentials - false
As per documentation, all users that have an e-mail address configured in the Users page and an assigned role that grants them View permissions on the Alerts page receive email alerts, each time a Fatal or Error alert is encountered, and a daily detailed report.
For example, all the three users displayed in the following screenshot are going to receive email alerts:
The activities in Studio have nothing to do with these Orchestrator email alerts.
To check if the settings you provided are ok, you could stop the UiPath Robot Service (from the Services window). You should receive a mail message stating that the Robot went offline, such as in the following screenshot: