---
title: "MailHog SMTP Testing Server with Web UI and API"
description: "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."
verification: "security_reviewed"
source: "https://github.com/mailhog/MailHog"
author: "MailHog"
publisher_type: "open_source_collective"
category:
  - "Calendar, Email & Productivity"
framework:
  - "Multi-Framework"
tool_ecosystem:
  github_repo: "mailhog/mailhog"
  github_stars: 15892
---

# 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

Choose whichever fits your setup:

1. Copy this skill folder into your local skills directory.
2. Clone the repo and symlink or copy the skill into your agent workspace.
3. Add the repo as a git submodule if you manage shared skills centrally.
4. Install it through your internal provisioning or packaging workflow.
5. Download the folder directly from GitHub and place it in your skills collection.

Install command or upstream instructions:

```
brew update && brew install mailhog
```

## Documentation

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

## Source

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