# MailHog

MailHog is an email testing tool for developers that captures outgoing SMTP messages locally, shows them in a web UI or JSON API, and can optionally forward them to a real mail server. It is open source and self-hosted, installable on Kubernetes (Helm).

Canonical page: https://ourlocalhost.com/app/4729/mailhog

## Description

MailHog is an email testing tool for developers that captures outgoing SMTP messages locally, shows them in a web UI or JSON API, and can optionally forward them to a real mail server.

## Platform availability

Available on 1 of 10 platforms: Helm.

## Health score

35/100 (Low), based on 4 of 5 factors.
- Maintained: 0 (last commit 1572 days ago)
- Popular: 84 (16,204 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 55 (no serious findings, OpenSSF Scorecard 2.6/10)

## Links

- GitHub: https://github.com/mailhog/MailHog
- Kubernetes (Helm): https://artifacthub.io/packages/helm/codecentric/mailhog

## Common questions

### Can MailHog forward captured emails to real recipients?

No. MailHog is intended to capture development-site emails rather than deliver them to real recipients.

### Do I need to expose port 1025 externally when running MailHog in Docker with another app?

No, not if the MailHog container and the sending container share the same network. Port 1025 is for SMTP, while 8025 is for the web UI if you need external access.

### How does MailHog work inside LocalWP with Live Links?

It should work through Live Links by capturing emails sent via the site's system SMTP mailer.

### Does MailHog provide a web interface and API?

Yes. MailHog is described as a web and API based SMTP testing tool.

## Alternatives

- Gmailnator (Emailnator): Gmailnator, Smartnator or Emailnator is a free service that allows getting instant temporary email it is also known as &quot;tempmail&quot;…
- MailCatcher: MailCatcher is a simple SMTP (Simple Mail Transfer Protocol) server and web viewer that catches emails sent to it so developers and self-ho…
- Mailpit: Mailpit is a multi-platform email testing tool & API for developers.
- Mailtrap: Mailtrap is an Email Delivery Platform for businesses and individuals to Test, Send, and Control their email infrastructure performance.
- Papercut: Papercut is a simplified SMTP server designed to only receive messages (not to send them on) with a GUI on top of it allowing you to see th…
- Postfix: Postfix is a fast, secure SMTP (Simple Mail Transfer Protocol) mail server that administrators can use to accept, relay, and deliver email…
- maildev: MailDev is a lightweight simple mail transfer protocol (SMTP) server and web interface for viewing and testing emails during development.

---
Source: Our Local Host (https://ourlocalhost.com/app/4729/mailhog), the self-hosted and open-source app directory.
