Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Creating a Service Email rule

Updated on April 6, 2022

To create or update cases from incoming email messages, configure a service email rule in Dev Studio. An email listener monitors an email inbox on a server that is identified by the details in an email account record. When messages arrive in that inbox, the email listener routes them to an email service rule.

The service activity for the email service processes the information in the message. Typically, service activities are used to create or update cases directly, or by using more advanced options, such as Pega Email Bot™. If there are any email attachments with the message, the service activity attaches them to the case. If the message contains Delivery Status Notification (DSN) information (an undeliverable message, for example), the service activity routes the message to the worklist of someone who investigates such matters.

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.

Note: Any change to the Service Email rule on the Service, Request, or Response tab requires you to restart the listener from Admin Studio. If you do not restart the listener, the changes do not take effect. For more information, see Managing listeners and the Admin Studio help.

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.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us