Append Trailers Only Once
iQ.Suite Tips & Tricks for IBM Domino
iQ.Suite Trailer is used to append legal notices in outgoing emails.
In a longer thread of emails (reply to reply, etc.), it may be useful to add the trailer text only once.
Example for a trailer appended several times
To prevent the trailer from being appended every single time, perform the following steps:
1. Create an iQ.Suite Utilities Dictionary document (Wall – Utilities – Dictionaries – NEW – Wordlist)
Assign an appropriate category (here “Trailer”)
The weighting factor applied is 1.
Select a unique part of the trailer (in this example your company’s VAT number)
2. Create an iQ.Suite Wall Mail Job Advanced document
Figure: Wall Mail Job Advanced document – operation above
You require the dictionary-based analyzer to check the text in the Body field.
As category, enter the category from the iQ.Suite Utilities Dictionary document (here Trailer).
Set the threshold to 1 to ensure that no further trailer is appended to an existing one.
Figure: Wall Mail Job Advanced document – operation below
In addition, perform the following settings:
Delete mail (Tab "Operations")
Write analysis details to an email field (Tab "Operations")
Field name for analysis details (Tab "Operations")
Quarantine configuration (Tab "Misc.")
A quarantine configuration without quarantine
3. Create an iQ.Suite Formula Rule document:
Set the Execution Mode to “Just Before the Job”.
Note: This requires the global parameter “Dynamic Rule Evaluation” to be set to “Yes“.
@ ISAvailable(): Notes function whether the specified field exists
“TrailerExist“ field created by the Wall Advanced Job if the trailer has already been appended the email once.
4. Include the rule in the “Trailer Mail Job” or “Trailer Mail Job advanced“.
The rule just created (here TrailerIsAvailible) needs to be added under “Dependence on negated selection rules”.
Note: The Wall mail job should have a higher priority than the Trailer job to ensure the email is checked first.