MailHog: web application e-mail testing

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

Installing MailHog

MailHog is written in Go with support for Windows, Linux, FreeBSD and OSX.

The latest release can be found at MailHog releases.

Installation is very easy. Simply download the appropriate version for your platform from MailHog releases. Once downloaded it can be run from anywhere. You don’t need to install it into a global location. This works well for shared hosts and other systems where you don’t have a privileged account.

Ideally you should install it somewhere in your path for easy use. /usr/local/bin is the most probable location.

The MailHog executible has no external dependencies.

Licence

Copyright ©‎ 2014-2015, Ian Kent (http://iankent.uk)

Released under MIT license, see LICENSE for details.

Fork me on GitHub