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.
We recommend installing this extension globally to make it available on every Chassis box.
git clone https://github.com/Chassis/MailHog ~/.chassis/extensions/mailhog
- Add this extension to your extensions directory
git clone firstname.lastname@example.org:Chassis/MailHog.git extensions/mailhogor alternatively add the following to one of your
extensions: - chassis/mailhog
- Go to http://vagrant.local:8025/ to view your MailHog inbox.
If you need to debug any problems, MailHog outputs logs to
This extension sets up MailHog as the default mailer for PHP; note that all email sent via
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.