UiPath Email Automation
We will learn step by step tutorial for “UiPath Email Automation”. The UiPath.Mail.Activities package includes all the activities related to e-mails in UiPath. UiPath has several ways of sending mail activities like SMTP, IMAP, OUTLOOK, EXCHANGE & POP3.
There are several email services supported in UiPath studio:
- SMTP – It Stands for Simple mail transfer protocol. It is simply used to transmit messages from source to destination. The ability to queue up messages at receiving end via this methodology is very limited.
- POP3 – It Stands for Post office protocol. It is the oldest but is still supported by most email servers and provides the ability to download emails locally into machines.
- IMAP –It stands for Internet message access protocol. It supports multiple device access and provides quick turnaround for operations like changing labels, marking emails as read, etc.
- Exchange – It is Microsoft’s mail server platform catering to large-scale business needs such as scheduling meetings, contact list maintenance, etc.
- Outlook – It is the email client used by businesses on top of the MS Exchange server. UiPath supports very intuitively with Outlook via API of its desktop application.
We are learning a practical example of SMTP here. In this example, we will read the data from excel and then keep it in Datatable. after we write it in a text file. Now the last step is to send this text file as an attachment in an email on our Gmail id.
Excel file “emploeerecord.xlsx”
Step 1: Use the Excel Automation scope activities to read the Excel sheet. after that use Read Range Activites to read cells of particular excel.
Step 2: Take OutputDatatable activities to generate data in the data table as output. and write a text file used for writing the data table data in the file.
Step 3 : Send SMTP mail message activites to send mail as attachment.
Step 4: SMTP Configuration
I hope you liked this article about Uipath Email Automation – An Example and email automation concept. I would like to have feedback from my blog readers. Your valuable feedback, question, or comments about this article are always welcome.