In the application we are working on, we want to append a custom x-header to an email sent from Pega through our SMTP server for identification/filtering later down the line. We need this identifier to be consistent across all communications using that rule in our case.
Is it possible to append an x-header such as x-my-custom-flag: value to the source of all emails using that rule?
Are you using Email Bots? If yes, Email bots use Email automation which accepts 'Headers' as one of the parameters. You can override the activity 'pyCallEmailAutomation' of Work-Channel-Triage-Email class and set desired headers.
A word of caution - X- headers are not guaranteed to be present all the time. Email servers may remove those.
Posted: 1 year ago
Posted: 10 Nov 2020 12:49 EST
Sindhu Tiwari (tiwas)
Product Manager - Multi Channel