该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

MailHog for WordPress

描述

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.

安装

  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. 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.

评价

2022 年 6 月 28 日
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 👍🏼
2022 年 3 月 24 日
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' );
阅读所有12条评价

贡献者及开发者

“MailHog for WordPress” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“MailHog for WordPress”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

v1.0.1 – Jul 28th, 2021

  • WordPress 5.8 compatibility

v1.0 – December 3rd, 2018

  • Initial release.