...
After enabling Script Task, return to the profile configuration page and select the edit (pen) icon for Script Task.
...
Pre-Processing Scope : Headers Only
Pre-processing only currently applies to Headers, not the body content, owing to the encoding complexities therein. If this is of interest, please reach out to support@thepluginpeople.com.
Configuration
The edit icon launches the pre-proc script editor.
...
Method | Used for | Example | ||
---|---|---|---|---|
jemhUtils.getOriginalAddressees() | Retrieving To/Cc/Bcc/From/Delivered-To Header Values | Retrieving addresses from a specific header to compare against or edit:
| ||
jemhUtils.updatePreProcHeader() | Updating To/Cc/Bcc/From/Delivered-To Header Values | Updating the Sender From address:
| ||
headerBeans.remove(“cc”) | Removing Headers | Removing unwanted Cc address:
| ||
jemhUtils.createInternetAddress(“nn”) | Creating a new Recipient to add to Header | Inserting a Bcc header:
| ||
aHeaderBean.getOriginalVal() | Non-Recipient Header values | Retrieving the Subject Header:
| ||
aHeaderBean.setUpdatedVal(“nnnn”) | Non-Recipient Header values | Changing the Subject Header:
|
Body Script
...