Hi,
Can someone direct me whats best way to handle emailing in Non-Prod environments.
We want to set "EmailTo" to some dummy email address if its non-Prod environment.
As per my research
- One way could be take care of in code where ever there is email is being sent out. Change the "EmailTo". Do i have to go through whole code base and find out where the email is being sent out ?
- I see there are three basic class in d365 which handles emails. SysMailerExchange, SysMailerSMTP, SysMailerEML. Should i customize sendEmail in all three class ?
Any help is appreciated.