Hacker News new | ask | show | jobs
by mustardo 1087 days ago
A couple others

Mail Catcher https://mailcatcher.me/

Lunatic SMTP https://github.com/anlar/lunaticsmtp

Green Mail https://greenmail-mail-test.github.io/greenmail/

4 comments

I’ve used mailcatcher for years and love it. It is perfect.
Same, I'm using it in CI/CD for full E2E tests of web apps in combination with Playwright for app interaction, and it's awesome. Same test flow can nicely simulate user interactions and verify that emails with the correct content go out from the backend, all in seconds within a normal Gitlab CI test job.

May take a look at Mailpit though. It has the advantage of having a native Docker image build, whereas for Mailcatcher I'm using a third-party Alpine-based image.

Per mailpit author mailhog is not actively developed and has performance issues. Hence developed this alternative
Ah, I did not know that, sorry.
I've been using https://github.com/maildev/maildev, and it has worked fine for me.
smtp4dev https://github.com/rnwood/smtp4dev - works well in docker, has api, can selectively forward to a real smtp