Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Syed
Active Participant
Hi All,

Introduction: 


We will see below how to send outlook mass email through SAP Intelligent RPA.

Mass emails we usually create and send to our existing clients or any other large group of recipients. When it comes to send outlook mass email through SAP Intelligent RPA. Here we write the email content in HTML format in text file and read the data from it and send. However, for large group of recipients we use text file in HTML format to write email address of large group of recipients so that we can read it and send email. We see below step by step basic example how to send outlook mass email through SAP Intelligent RPA.

Steps to send outlook mass email through SAP Intelligent RPA as follows:



  1. Create a new text file write and save the body content of email in HTML format.

  2. Create a new text file and write and save email address of large group of recipients in HTML format.

  3. Create a new project in desktop studio.

  4. Select outlook integration from library.

  5. Create a new work flow.

  6. Build to generate the code. Edit it as per our requirement.

  7. Save, rebuild and debug.


Prerequisites:



  • Microsoft Outlook

  • Desktop Studio 1.0.8.36


1. Create a text file in HTML format write and save the email body content:


Create a new text file write and save the body content of email in HTML format you want to send in email. Following is the sample of email body content. Here, the special characters will be replaced by word All from our code i.e. we can seen in email as Hi All.


Text file for email body content



2. Create a text file in HTML format write mass email ids you want to send an email:


Create a new text file and write and save email address of large group of recipients in HTML format you want to send email. In following HTML format we can write email address of recipients separated by semi colon.


Mass email address



3. Create a  new project:


Open the desktop studio > Click on File and click on new project. Give the project name, title, client name and comments are optional and click on save.


Create a new project



4. Select outlook integration from library:



  • Right click on script perspective and click on Include library script to select outlook integration.



                                                               Include library script

  • Select outlook integration checkbox and click on save button.



Select Outlook integration



5. Create a new work flow:



  • Right click on Global from work flow perspective and create a new work flow and give the name for work flow and click on save.



New work flow


 

  • From Activities we can drag and drop custom activity two times and rename it to Email content and Send Email also add end scenario as shown below. Click on Content then right click to create a new folder and can rename it as myData.



Create a new work flow



6. Click on build to generate the code:



  • Once the work flow is created. Save it and click on build to generate the following code and edit it as shown below. Here, we reading the data from text file for email content



Email content




  • Similarly we are reading the data from text file to add email address of large group of recipients. Also, special characters are replaced by word All. i.e. in email we can see as Hi All.



Send email



7. Save, rebuild and debug your project:


Once we debug our project successfully, from taskbar click on desktop agent and click on the work flow name to send mass email through SAP Intelligent RPA.



Save, rebuild and debug


Conclusion:


The above steps should help you to understand and use of outlook library and reading the data from external text file for email body content and similarly reading the data i.e. mass email address from external text file to send mass email. With the above steps we are now able to send outlook mass email through SAP Intelligent RPA.

Enjoy SAP Intelligent RPA!

Thank you,

Syed Baba Tajuddin Hussaini
1 Comment
Labels in this area