mocks endpoints /messages/send.json and /messages/send-raw.json of mandrill api.
delivers messages to mailhog for inspection.
can send webhook calls if configured.
node >= 14.x
npm install
see config.js for defaults.
create config.local.js to customize config.
npm run start
to spin up all docker containers in docker-compose files
npm run docker-up-all
see docker-compose.yml and docker-compose.webhook.yml for example setup.
https://hub.docker.com/r/slickaminrumpa/mandrill-mock
MANDRILL-MOCK_mailer__host=smtp.myserver.com
MANDRILL-MOCK_mailer__port=25
MANDRILL-MOCK_webhook1__url=http://webhook:80/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
MANDRILL-MOCK_webhook1__key=abc123