This extension is now deprecated and no longer maintained. Please use our Mailhog extension instead!
A Chassis extension to install and configure Mailcatcher on your server.
With this extension, Mailcatcher 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.
- Add this extension to your extensions directory
- Run
vagrant provision
- Go to http://vagrant.local:1080/ to view your Mailcatcher inbox.
That's it!
-
This extension sets up Mailcatcher as the default mailer for PHP; note that all email sent via
mail
, including WordPress' built-inwp_mail
, will be sent to Mailcatcher. -
Mailcatcher's database of emails is stored in memory, and will be reset when you halt the Vagrant instance.