Question

ING Belgium SA NV
BE
Last activity: 28 Jan 2021 2:44 EST
Mark outgoing mail in lower environments to distinguish them from PRD environment.
OOTB Pega sends out mails e.g. when @users are mentioned in Pulse messages, but we also send out a lot of customised mails during case lifecycle. The problem is, these mails are also being sent to the final recipients in lower envronments (D/T/A), thus creating the risk of being treated by the recipients as would they be production mails.
What would be the best way to mark the mails being sent from these lower environments as TEST.
What I was thinking about is
- create a system setting containing some watermark image containing the url to a (DEV/TST/ACC).gif (and an completely transparent gif in PRD environment)
- adding this background to all outgoing mail
- intercepting the mails from the mailserver end so everything coming from servers x,y,z is being routed to a test mailbox
- Adapt Pega somewhere so final recipients are being replaced with a dedicated mailbox (but then you lose the original recipients name/address...
Is this a good approach? How would you do it? Are there better ways to achieve the same (or something similar)?
Thnx for your feedback! Looking forward to learn from you.