Catch all the emails WordPress sends while you're developing using Chassis!
Puppet HTML
Switch branches/tags
Nothing to show
Clone or download
Latest commit b756b1e Jun 27, 2018
Permalink
Failed to load latest commit information.
.github Add issue template Mar 13, 2018
modules/mailhog Fix typos Jun 27, 2018
.travis.yml Clean up linting Mar 6, 2018
README.md Initial commit Nov 15, 2015
chassis.yaml Add Extensions V2 support Mar 6, 2018

README.md

MailHog

A Chassis extension to install and configure MailHog on your server.

With this extension, MailHog will act as a fake mail server, showing your email in the browser rather than sending it to the email address. This is great for testing where you don't want the emails to actually be sent, but still need access to them.

Usage

  1. Add this extension to your extensions directory
  2. Run vagrant provision
  3. Go to http://vagrant.local:8025/ to view your MailHog inbox.

That's it!

If you need to debug any problems, MailHog outputs logs to /var/log/mailhog/mailhog.log

Important Notes

  • This extension sets up MailHog as the default mailer for PHP; note that all email sent via mail, including WordPress' built-in wp_mail, will be sent to MailHog.

  • MailHog's database of emails is stored in memory, and will be reset when you halt the Vagrant instance.