MailHog for WordPress

Description

This plugin routes your emails to MailHog for development purpose.

If you are using MailHog on your development environment, you can use this plugin to route your emails to MailHog.

Installation

  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

How can I use the plugin?

Just activate the plugin, you don’t have to touch or change anything.

What is MailHog?

MailHog is an email testing tool for developers.

Reviews

June 28, 2022
This is a great example of how you don't need to overcomplicate things, and still make a great and super useful plugin. The plugin will just hook to phpmailer_init and make it work with Mailhog. No configuration is needed, it just works. Great job 👍🏼
March 24, 2022
I've been using this a lot lately on my local development. Like another person said, to make it work on a docker container, you need to change the smtp host adding this line to wp_config: define( 'WP_MAILHOG_HOST', 'mailhog' );
March 19, 2021
Very useful PlugIn. Works like a charm. I use it in my local test enviroment. Thank and keep going
Read all 10 reviews

Contributors & Developers

“MailHog for WordPress” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

v1.0.1 – Jul 28th, 2021

  • WordPress 5.8 compatibility

v1.0 – December 3rd, 2018

  • Initial release.