Email services can process messages that contain plain text, HTML, or XML. If the incoming email messages use SOAP, apply a SOAP service rule rather than an email service rule to process the message. You still use an email listener, but the listener routes the messages to a SOAP service rather than to an email service.
The following tasks describe how to manually create a Service Email rule in Dev Studio. However, email service rules are automatically generated with certain configurations, such as creating an email channel or enabling case creation by email. For more information, see Creating an Email channel and Enabling creation by email of top-level cases.
- Configuring service processing for Service Email rules
Email listeners route email messages to a Service Email rule. Pega Platform uses Service Email rules to determine which service activity to use for processing the email message. For example, an email listener might route an email message from a job applicant to a Service Email rule for adding attachments to recruiting cases. The service activity in the email service rule attaches the job candidate's resume to the case.
- Configuring the request for Service Email rules
Use the Request tab to map the data from the messages that this service processes to the clipboard.
- Configuring the response for Service Email rules
Use the Response tab to specify how the service rule constructs the response that Pega Platform sends when the service processing is complete. You can set up more than one response, based on conditions.
- More about Service Email rules