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.
- Upload the plugin folder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
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.
Installed it, activated it, and MailHog started to receive emails. Just what I wanted!
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 👍🏼
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' );
Great plugin for local development
Just simple and useful plugin
Very useful PlugIn. Works like a charm. I use it in my local test enviroment.
Thank and keep going
“MailHog for WordPress” 是开源软件。 以下人员对此插件做出了贡献。贡献者
v1.0.1 – Jul 28th, 2021
- WordPress 5.8 compatibility
v1.0 – December 3rd, 2018