Posted: 6 Jan 2017 15:26 EST Last activity: 20 Jan 2017 0:27 EST
How to get incoming emails' data in Pega 7
I have set up an Email Listener for approval task. Everything works properly.
Now, there is a requirement that the application needs to capture the "email from" from incomming emails.
I know that there is a Request tab in Service Email, but I do not know how to configure mapping. In my case, there is a property called "EmailFrom". I want to copy the value of the "from" to my "EmailFrom" property. This is how I configure service email. But when I run the case, it always show blank.
Can someone show me how to achieve the requirement? I appreciate your help.
p/s: For more information, I am working on version 7.2.
***Updated by moderator: Lochan to update Categories***
You can use .pyInboundEmail.pyFrom property (same as you did it for the other fields) directly, or you can copy .pyInboundEmail.pyFrom to your property. Check the pyInboundEmail page and the properties in the clipboard, these standard properties are used(if you are using the accelerator) to map email data directly to clipboard, no need to create additional properties for that.
I forgor to mention that at the first time, I tried to use ".pyInboundEmail.pyFrom" property, but it just blank. I searched the email in the clipboard but I can not find anything. I thought the ".pyInboundEmail" page is cleaned up somehow and somewhere before I access to it. That is why I came to the idea of using a separate property, but there is no success.
I use OOTB email listener. I wonder if there is a required/optional configuration for the email listenter to make the proterties be viewable?