Read outlook mails from a specific folder

Hello,

I want to read mails which are available inside Outlook->Inbox->OrderPO Folder and once it is processed i need to move it to Inbox->ErrorPO folder. So, any idea please guys…!! Thanks!

@mitradev_das

Hope Outlook application installed in the Robot machine. If yes then follow below steps.

  1. Use Get Outlook Mail Message activity to read the mails from Mailbox and mention folder name as Inbox\OrderPO and it will give output as List of Mail Messages.

  2. And then use For Each loop activity to iterate one by one email to process. At the end use Move Outlook Mail Message activity to move the mail and set MailFolder value as Inbox\ErrorPO.

1 Like

Hi @mitradev_das. The solution proposed by @lakshman works in UiPath Studio.

In StudioX, add the Outlook resource. Then use a For Each Email activity to go through the OrderPO folder, then add a Mark Email as Read/Unread and a Move email activity.

1 Like

Thank You!!

1 Like

Thank you.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.