Testing a password-reset or order-confirmation email should not require sending it to a real customer. MailHog acts as a mail server that captures messages from a development application and displays them in a browser or through an API. Developers can inspect the contents, attachments and formatting while testing the surrounding workflow. It can also release captured mail to a real server, so that outbound-delivery option needs an intentional boundary.
Current guidance
MailHog’s primary repository describes an SMTP capture server, web interface and JSON API, with in-memory storage by default and optional persistent backends. It also supports releasing captured messages through a real SMTP server. It is an email-testing tool rather than a production mailbox or general mail-transfer service.
Use test addresses and control outbound delivery so password resets, order confirmations or other captured messages cannot reach real recipients accidentally. Protect the UI and API because message bodies may contain credentials or personal data. The documented HTTP basic authentication is a configuration choice, not evidence that every historical chart enabled it.
Choose whether messages should survive pod replacement and set a retention policy appropriate to the test environment. Exercise multipart messages, attachments and the application’s retry behavior without relying on a public SMTP destination. This review verifies the original project and features but does not establish an ongoing support commitment or a current security assessment of the old image. Do not infer retirement solely from the age of examples.
Historical upstream link check · 2026-10-09
The recorded upstream address responded successfully (HTTP 200) on 2026-10-09. Link availability does not certify the historical installation instructions or current security support.
Website availability is separate from project, chart and image support. Use the current guidance and primary sources on this page to assess the distribution.
Historical Kubedex content
Preserved for context. Commands, versions, prices and results below reflect the original research.
Mailhog is an e-mail testing tool for developers. This chart creates a Mailhog deployment on a Kubernetes cluster using the Helm package manager.
MailHog is an email testing tool for developers:
- Configure your application to use MailHog for SMTP delivery
- View messages in the web UI, or retrieve them with the JSON API
- Optionally release messages to real SMTP servers for delivery
Inspired by MailCatcher, easier to install.
- Download and run MailHog
- Configure your outgoing SMTP server
- View your outgoing email in a web UI
- Release it to a real mail server
Built with Go – MailHog runs without installation on multiple platforms.
Getting started
Either:
- Download the latest release of MailHog for your platform
- Run it from Docker Hub or using the provided Dockerfile
- Read the deployment guide for other deployment options
- Install it with Homebrew on MacOS – brew update && brew install mailhog
Configure MailHog, or use the default settings:
- the SMTP server starts on port 1025
- the HTTP server starts on port 8025
- in-memory message storage
Features
- ESMTP server implementing RFC5321
- Support for SMTP AUTH (RFC4954) and PIPELINING (RFC2920)
- Web interface to view messages (plain text, HTML or source)
- Supports RFC2047 encoded headers
- Real-time updates using EventSource
- Release messages to real SMTP servers
- Chaos Monkey for failure testing
- HTTP API to list, retrieve and delete messages
- HTTP basic authentication for MailHog UI and API
- Multipart MIME support
- Download individual MIME parts
- In-memory message storage
- MongoDB and file-based storage for message persistence
- Lightweight and portable
- No installation required
Sources & further reading
Spotted something that needs another look?
Help improve this page →