Description
Mailpit is an email testing tool and API for developers. It acts as a local SMTP server, so an app can send mail to it during development and testing without anything reaching a real inbox, and it provides a web interface for viewing, searching and inspecting the captured messages, including their content and headers. The project describes it as small, fast, low on memory and free of dependencies, shipped as a single static binary or as a multi-architecture Docker image. The web UI updates live as messages arrive, with browser notifications and an unread counter. A REST API lets integration tests check the messages their code has sent. The tool also includes an HTML compatibility checker to show how a message renders in different mail clients, a link checker, a spam testing feature, a screenshot generator, and advanced message search. Other features include a POP3 server, message tagging, relaying and forwarding, a webhook for new messages, and a chaos mode for testing how an app handles mail failures. Mailpit is free and open source, and the project is hosted on GitHub. It is a good fit for teams that build apps which send email and need to see the output without a live mail provider.…
Highlights
- Local SMTP server for development and tests
- Web UI with live updates and search
- REST API for integration tests
- HTML compatibility, spam and link checks
Ratings & Reviews
No ratings yet
Be the first to rate Mailpit.
People also visit
Mailpit FAQ
What is Mailpit?
It is an email testing tool and API for developers, which acts as a local SMTP server and captures the emails your app sends.
Will captured emails reach real inboxes?
No. Mailpit captures messages locally, so you can view them without sending them to real addresses.
How is it installed?
As a single binary with no dependencies, or as a multi-architecture Docker image.
Can I test emails in code?
Yes. Its REST API lets integration tests read the messages your code sent.
Is it free?
Yes. The site describes it as free and open source.
What are the best Mailpit alternatives?
Popular alternatives to Mailpit include MailDev, MailFrom.dev and VaultSandbox. See all Mailpit alternatives






