Email - Development configuration to develop and test an email solution

1 - About

When developing an email solution, you want:

  • to prevent that emails are going into the wild
  • to catch this email in order to assert that they were send with the good content.

There is several strategy that you can use.

2 - Library

2.1 - Local SMTP server

Simple SMTP server that accepts all messages and stores them. Your unit test code can then examine the messages (or lack thereof) and verify their validity.


docker run --name smtp -p 5025:5025 -p 5080:5080 -p 5081:5081 -d gessnerfl/fake-smtp-server

2.2 - Filter

filter plugin


Data Science
Data Analysis
Statistics
Data Science
Linear Algebra Mathematics
Trigonometry

Powered by ComboStrap