Posted: 21 Jan 2019 5:50 EST Last activity: 22 Jan 2019 2:13 EST
Retrieve email with specific subject and divert them to a specific folder
I am new to pega world.I want to know the steps of how can i retrieve emails from my outlook account with a specific subject line and write a rule so that all these emails are automatically moved to a seperate folder ?
Yes rule creation is easy I am able to do it through outlook. I have another question. I want to retrieve specific contents contents from the body of the email and update the information in an excel file. How do I do this? Attaching my code for reference.I want to iterate for each email inside the folder.Please I need the fix urgently as I am working on a POC.
What do you want to do with the Excel spreadsheet? Are you wanting this to be a batch operation? What business process does this support in other words?
You could store information in the database then schedule an Agent to perform a specific task periodically. But what do you want to do with the spreadsheet were one to be generated? Mail it to someone or better create a case?
You would start by using the Email Service Wizard to read from the inbox then decide what to do with the MyService page such as write the content to the database.