Product Information
What is Mailpit?
Mailpit is a multi-platform email testing tool and API designed for developers.
It functions as both an SMTP server and provides a web interface to view all captured emails. Inspired by MailHog, Mailpit is significantly faster.
### Features
- Runs entirely from a single binary with no installation required
- SMTP server (default 0.0.0.0:1025)
- Web UI for viewing emails (formatted HTML, highlighted HTML source, text, headers, raw source, and MIME attachments, including image thumbnails)
- Toggle for mobile and tablet HTML preview in desktop mode
- Advanced email search (see wiki)
- Message tagging (see wiki)
- Real-time Web UI updates via WebSocket for new emails
- Optional browser notifications for new emails (HTTPS and localhost only)
- Configurable automatic email pruning (default keeps the latest 500 emails)
- Emails stored in temporary or persistent databases (see wiki)
- Fast SMTP processing and storage—approximately 70-100 emails per second, depending on CPU, network speed, and email size, easily handling tens of thousands of emails
- SMTP relay/message publishing—relay messages via different SMTP servers, including optional whitelisting for accepted recipients (see wiki)
- Optional SMTP with STARTTLS and SMTP authentication, including an "accept anything" mode (see wiki)
- Optional HTTPS for the Web UI (see wiki)
- Optional basic authentication for the Web UI (see wiki)
- A simple REST API (see documentation)
- Multi-architecture Docker images
How to use Mailpit?
Mailpit is a multi-platform email testing tool and API designed for developers, offering SMTP server functionality and a web interface to view captured emails.
Core Functions of Mailpit
Email testing
REST API
Email verification
Usage Scenarios of Mailpit
- Developers conducting email testing
- Acting as an SMTP server to receive and store emails
- Viewing captured email content via a web interface (e.g., formatted HTML, highlighted HTML source, text, attachments, etc.)
- Previewing HTML email effects on mobile and tablet in desktop mode
- Performing advanced searches and tagging on emails
- Relaying captured emails to other SMTP servers
Common Questions about Mailpit
What does Mailpit do?
How do I use Mailpit?
What are the core features of Mailpit?
What are the use cases for Mailpit?



















