This service uses two providers, one of which serves as a backup in case the other one fails.
The developer's approach was to identify the adapters and configure them according to the providers' requirements. The EmailSender is set up to use both providers, with logic to use a fallback service if the primary service fails.
To build the Docker file, use the following command:
docker build . -t email_service_exampleTo run the Docker file, use the following command:
docker run email_service_example