Skip to Content
Technical Articles
Author's profile photo Jai Vignesh R

How to configure mail server in SAP Intelligent Robotic Process Automation Cloud Factory?

In order to take advantage of the alert feature in SAP Intelligent Robotic Process Automation that is explained in the blog, as a pre-requisite, you should configure a Simple Mail Transfer Protocol (SMTP) server.

Configuration of Mail Server in Cloud Factory is quite simple and straightforward.

Navigate to the Configuration Tab in Cloud Factory.

 

Step 1: Enter a Name for your server configuration and a Description (optional).

Step 2: Select a Security Method: TLS (Transport Layer Security) or SSL (Secure Sockets Layer)

Step 3: Fill the Sender Address input field with the mail address that will be used to send the alerts to the recipients.

Step 4: Fill the Host Address input field with the hostname or IP address of the mail server that will be used to send the alerts.

Step 5: Fill the Port input field with the number of the port that will be used for connecting to the SMTP Server.

Note: If you’ve chosen TLS security method, the recommended value of the port is 587. If you’ve chosen SSL security method, it’s 465.

Step 6: Check the SMTP Authentication checkbox to enable SMTP authentication. Then enter a User and a Password. This step is optional.

In order to test the configuration, click on the Send Test Mail button. A dialog box appears as shown below.

Enter the recipient email address and click on the Send Test Mail button to check if the configuration is successful. 🙂

Assigned Tags

      13 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Yessica Naranjo
      Yessica Naranjo

      Hi Jai,

       

      Thanks for your blog. I did the whole process but didn´t receive a test mail. I don´t know if i have to do a specific configuration on gmail.

      Author's profile photo Jai Vignesh R
      Jai Vignesh R
      Blog Post Author

      Please check if there is any authentication required on your mail server 🙂

      Author's profile photo Yessica Naranjo
      Yessica Naranjo

      Hi Jai,

      In effect, i had to activate the access to another aplications, i did that but now appear the next alert when i try to send the test e-mail. Any idea?

      Author's profile photo Jai Vignesh R
      Jai Vignesh R
      Blog Post Author

      Hi Yessica,

       

      I tried replicating the issue with a mail ID of a different domain and I got an error like IPA_MONITORING_ALERTS_TEST_SAP_IPA_20006.

      Could you please check if the error is because of any domain configuration issues.

      Else, please raise an incident. 🙂

      Author's profile photo D Vijay Kurumella
      D Vijay Kurumella

      Hi Jai

       

      Good Day

       

      I tried to config i am also getting same IP Monitoring error like error like IPA_MONITORING_ALERTS_TEST_SAP_IPA_20005.

      please let me know how to fix this to get configured

       

      thank you

      Author's profile photo Yessica Naranjo
      Yessica Naranjo

       

      Hi D Vijay KurumellD Vijay Kurumell,

      Maybe this could help. I fixed the same issue changing the host adress (try with smtp.gmail.com or imap.gmail.com), change the port to 587 and be sure than the method of security is the correct one.

      Author's profile photo D Vijay Kurumella
      D Vijay Kurumella

      Hi Yassica

       

      What do mean security can you show me a example cause as you said every field i gave.

      but still the same error i am getting, So please help me to resolve this

       

       

      Author's profile photo Yessica Naranjo
      Yessica Naranjo

      Hi Vijay,

       

      With security i mean with TLS or SSL. Try with TLS. Also there are a aditional configurations in the mail, look this link:

      https://www.teayudocongoogle.com/configuracion-pop-imap-de-gmail/

       

      Another useful information, from the mail settings you must allow access to non-secure applications.

      Author's profile photo Deeksha Jangid
      Deeksha Jangid

      Hi Yassica,

       

      How can I  trigger smtp mail from a workflow, For example, I need to send smtp mail at the end of the workflow with an attachment file, How do we do that?

      Author's profile photo Yessica Naranjo
      Yessica Naranjo

      Hi Deeksha,

      I use this code, you have to be shure to active the sdk of outlook:

      ctx.outlook.init();
      //Resets the working mails list.
      ctx.outlook.mail.resetMailCollection();
      try {
      ctx.outlook.mail.create({
      To: "@",
      Subject: "",
      Body: ""

      });
      ctx.outlook.mail.send(0);
      ctx.log("“Microsoft Outlook” mail sent successfully.")

      } catch (err) {
      ctx.log("Sending of “Microsoft Outlook” mail in failure (" + err.description + ").");
      return e.error.KO;
      }
      ctx.outlook.end();

       

       

       

      Author's profile photo Deeksha Jangid
      Deeksha Jangid

      Hi Yessica,

       

      If I don't have outlook then how can I send a mail with the help of smtp in workflow.

      Author's profile photo ulavala rajasekhar
      ulavala rajasekhar

      Hi Jai Vignesh R ,

      Thanks for the information I followed all the steps in the blog.

      I accepted all the authorization still I am facing the below issue.

       

      Any information on this issue is very helpful.

       

      Thanks,
      Rajasekhar

      Author's profile photo Oscar Saavedra
      Oscar Saavedra

      For those facing the errors IPA_MONITORING_ALERTS_TEST_SAP_IPA_20005 or IPA_MONITORING_ALERTS_TEST_SAP_IPA_20006. You need to save first, before try the Send Test Mail option.

      For those with authentication issues, IRPA doesn't currently support outlook or gmail due to security policy, it's expected to be resolve in the upcoming updates.