Question
LTI
IN
Last activity: 16 Oct 2018 12:03 EDT
How to read an email using OpenSpan
We are trying to integrate OpenSpan with Pega in such a way that:
1. OpenSpan will be polling the Inbox
2. Any new email received in the inbox should trigger a case in PRPC
3. The email body, subject and attachments should be passed on to Pega
For this we are trying to read email inbox in OpenSpan
***Updated by moderator: Lochan to add SR Exists group tag***
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
The only component that Pega Robotics provides for this is the Outlook component. I've attached a screenshot on how to accomplish this using that component. If you are not using Outlook, then you'd need to come up with another way.
Sprint
US
Hi Sasnt, we only allow to use web outlook for search email, find attached pdf file and download pdf. How to automate this process through web outlook? I tried web automation, but it is not work.
Pegasystems Inc.
US
We do not have a connector for accessing the web version of Outlook. You will need to create an automation to perform this. I suspect it will be fairly challenging to do as opposed to using the Outlook connector with a supported version of Office.
Sprint
US
Please give me some advises how to create the automation. Really need help in this part. Thanks a lot!
Pegasystems Inc.
US
I don't have any specific advice on how to do this without the component. Since the Outlook web view can be changed, I couldn't really create an example that would work. There are posts regarding downloading files from Internet Explorer that may help if you are able to navigate the web page to get to the email.
https://collaborate.pega.com/question/how-download-attachment-weburl-through-windows-adapter
Sprint
US
Thanks, I will try!
TCS
IN
Pegasystems Inc.
US
You need to click the arrow on the upper right corner of the event to expose the event args.
Cognizant technology solutions
IN
I want to find an email from my Inbox whose body contains some hyperlinks. I want to click on those hyperlinks one by one and after opening the link need to save some value. Please suggest how to do?
Pegasystems Inc.
US
You would need to parse the body of the email and launch a web adapter to navigate to each of the URLs within the links. Look at the body property of the email object and from there you can begin to extract what you need from within it. Once you have the URL, you may launch a web adapter to that URL and capture what you need. You will need each link o go to a known place though if you are to get anything from the page.
Deloitte India
IN
Hi
I want to read an unread mail from a outlook. I need to paste the mail body content in a file and then download the attachments too.
Please help.
Thanks.
Pegasystems Inc.
US
Please explore the Outlook component and look at my earlier response. It is pretty close to what you are asking for.
Accenture Services PVT Ltd
IN
Hi Sasnt
I want to read specific content from the mail body (it is provided in a tabular format) , and then fill up an online form duly. Any suggestions on how to do the reading part.
Regards,
Ratul
Pegasystems Inc.
US
The Body property of your email will contain all of the text within it. From that, you would need to parse out whatever you needed. Once you have extracted whatever parts you need, then you can pass those to your web page.
Accenture Services PVT Ltd
IN
Thanks Sasnt for your prompt reply. I was wondering how to do the parsing. Whether to put it in a excel or a PDF.
I am new to Openspan, and trying to find my way out from the basic problems. When I am trying to copy the mail body and put it in a excel it mostly is getting copied to a single cell and hence it is not convenient for me to copy it from there for filling up the webpage. Any kind of lead is appreciated.
Pegasystems Inc.
US
Parsing your data is really a programmatic task and not specific to Pega Robotics. You'll need to write that portion yourself; likely in C# within the script component or by creating your own. The body will be one piece of text, so if you only have one piece of text and pass that to SetCellValue, then it will obviously only exist in one cell. Since we can't know what you are trying to get out of your text without actually seeing it, I cannot really get any more specific in terms of how to do it.
Accenture Services PVT Ltd
IN
I just needed to know if it can be done thru Pega Robotics. Thanks a lot for your confirmation.