Whitelist email addresses in non-production environments
0
We have a live application which communicates with customers over email. As we are testing new functionality in lower instance I need to ensure that our customers *do not* receive emails; and only customers who agree to participate in early testing do. In other words, I need to whitelist email addresses in non-production environments. Did anybody face such issue? How did you solve it?
asked
Miroslav Samoylenko DO NOT USE
1 answers
0
Hi Miroslav,
You could use a constant to check which environment you’re on, and if its not production, perform the check to see if the e-mail address is whitelisted. This can be done by adding a setting to the account object, or any other preferred way or registering this information.