# MailHog SMTP Testing Server with Web UI and API

> Uses MailHog to capture outbound email in development and test environments through a local SMTP server, browser UI, and JSON API. It is a practical fit for debugging transactional mail, verifying templates, and testing delivery behavior without sending messages to real recipients.

- Skill: `agentskillexchange/mailhog-smtp-testing-server-with-web-ui-and-api` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/mailhog-smtp-testing-server-with-web-ui-and-api`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/mailhog-smtp-testing-server-with-web-ui-and-api/raw
- Safety review: pending (external: skill-scanner WARNING, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/mailhog-smtp-testing-server-with-web-ui-and-api

---


# MailHog SMTP Testing Server with Web UI and API

Uses MailHog to capture outbound email in development and test environments through a local SMTP server, browser UI, and JSON API. It is a practical fit for debugging transactional mail, verifying templates, and testing delivery behavior without sending messages to real recipients.

## Prerequisites

Docker, Homebrew, or Go

## Installation

Use the upstream install or setup path that matches your environment:
- brew update && brew install mailhog
- go install github.com/mailhog/MailHog@latest

Requirements and caveats from upstream:
- #### Docker
- [Run it from Docker Hub](https://registry.hub.docker.com/r/mailhog/mailhog/) or using the provided [Dockerfile](Dockerfile)
- Requires Go 1.4+ to build.

Basic usage or getting-started notes:
- Download and run MailHog
- #### Manual installation
- [Download the latest release for your platform](/docs/RELEASES.md). Then

- Source: https://github.com/mailhog/MailHog
- Extracted from upstream docs: https://raw.githubusercontent.com/mailhog/MailHog/HEAD/README.md

## Documentation

- https://github.com/mailhog/MailHog

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/mailhog-smtp-testing-server-with-web-ui-and-api/)

