Good day,
Please your help, I need to know please with an example how to read the body of an email in outlook within a specific folder.
You can create an email listener rule where you can mention the folder from which the emails will be taken for the processing. In the below screen-shot, as we we have configured the Inbox as our folder, the email listener picks the emails from this folder.
Configure the email listener folder name as INBOX/Specific Folder . The Listener read the email body from the specific folder
@LuisB647 For Pega Robotics, the first thing you’d do is add an Outlook Connector (I suggest placing this in a Global Container). You’d then use the FindEmail method to locate your specific email. This method takes a folder as a parameter, so you can give it a path relative to your Inbox. Another way to locate an email is to iterate though a folder by using the RetrieveEmail method. This returns a collection of emails from a folder. You can pass this to a ListLoop to iterate each one. From the ListLoop, you’d extract a proxy to view the properties of each individual email. One of these properties is “Body” from which you can extract the contents of the body to use however you wish.
Let me know if you need an example.
Could you please share an example of how it would be done?
@LuisB647 Here is a video on the subject. If you get stuck, upload your solution and I can take a look at it for you.
https://community.pega.com/video-library/how-retrieve-outlook-emails-using-outlook-connector
Thank you very much, if it worked as expected, this video was very helpful
