Creating an email listener
Use email listeners to provide the Pega Platform with the
necessary information to route incoming email messages to an email service rule
(Rule-Service-Email rule type).
Email listeners identify
the listener, the email account name, the name of the mail folder to monitor, the message format
of the incoming messages, the email service rule to which to route messages, and so on.
Before you begin: Create the email account instance and email service
rules.
When an email listener routes a message with file attachements, the listener creates the pyAttachmentPage page (of class Data-ServiceMessage) and puts the files on that page by using the pyAttachNames and pyAttachValues properties. When you configure inbound email, you set up a service activity that is generated to extract files from pyAttachmentPage and attach them to the work item as work item attachments.
The Data-Admin-Connect-EmailListener class contains email listener data instances. They are part of the Integration-Resources category.