Sending encrypted email
Configure outbound email from Pega Platform to use the standard S/MIME protocol, to send encrypted email messages to external email addresses. By sending encrypted email, you assure your recipients that your email messages are secure and authentic.
- Make sure that Pega Platform is already configured to send plain, unencrypted emails. For more information, see Creating an email account.
- Open your existing JKS keystore file and take note of the certificate alias from within that file. You need the certificate alias to create the keystore in Pega Platform.
- Obtain the keystore aliases for any email addresses that are in the keystore file. You need to specify the keystore aliases in the pyEmailCertificateMap decision table in Pega Platform.
- Create a keystore and upload the JKS file to Pega Platform.
For more information, see Creating a keystore for application data encryption and Configuring a keystore by uploading a file.
- In the header of Dev Studio, search for and select the pyEmailCertificateMap decision table rule.
- On the pyEmailCertificateMap decision table rule form,
click Save as and save the decision table in the
Data-Admin-Security-Keystore class in a local
ruleset.
Note: Do not alter the Purpose or the Applies To class. - Click Create and open.
- On the Table tab, edit the decision table to include the
following information:
- Email address: Specify the email address of the intended recipient of the encrypted message.
- Keystore instance: Specify the keystore instance that you want to use for encryption.
- Keystore alias: Specify the keystore alias for the email address.
For more information, see Creating decision tables.
pyEmailCertificateMap decision table - To send the encrypted message, create an activity that calls the
SendEmail automation.For more information, see Calling an automation from an activity and Pega-supplied automations.
Example of calling the SendEmail automation - To enable encryption, enter a parameter in the Encrypt message field.
- Click Save.
- Call the activity that you created in step 5 during
flow processing to send the email by using the parameters that you
provided.For more information, see Calling an activity or an automation from a flow.
Previous topic Using email integrations Next topic Receiving encrypted email