Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chassis/mailhog
Catch all the emails WordPress sends while you're developing using Chassis!
https://github.com/chassis/mailhog
chassis chassis-extension mailhog wordpress
Last synced: 3 months ago
JSON representation
Catch all the emails WordPress sends while you're developing using Chassis!
- Host: GitHub
- URL: https://github.com/chassis/mailhog
- Owner: Chassis
- Created: 2015-11-15T10:20:07.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2024-07-29T22:46:42.000Z (6 months ago)
- Last Synced: 2024-07-30T04:13:26.974Z (6 months ago)
- Topics: chassis, chassis-extension, mailhog, wordpress
- Language: Puppet
- Homepage:
- Size: 26.4 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MailHog
A Chassis extension to install and configure
[MailHog](https://github.com/mailhog/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.
## Global Installation
We recommend [installing this extension globally](http://docs.chassis.io/en/latest/extend/#globally-installing-extensions) to make it available on every Chassis box.
```
git clone https://github.com/Chassis/MailHog ~/.chassis/extensions/mailhog
```
## Project Installation
1. Add this extension to your extensions directory `git clone [email protected]:Chassis/MailHog.git extensions/mailhog` or alternatively add the following to one of your [`.yaml`](https://github.com/Chassis/Chassis/blob/master/config.yaml) files:
```
extensions:
- chassis/mailhog
```
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.