Writing Unit Test for SMTP Component

I was working on a notification system that allows users to subscribe an email notification based on the status of the database record. An email will be sent to the destination whenever the status is satisfied. As the system is providing various of email templates for users to choose when they’re defining the subscription. So […]