Project to try using mailhog with symfony. This project has two goals:
- Send mail from a basic form and catch it to mailhog
- Use mailhog api to test Mailer without mock (don't mock what you don't own)
- Make
- Docker
- Start project :
make up- Init project :
make init- Go inside php container
make run- Go to http://localhost/mail to send mail from form.
- Go to http://localhost:8025/ for use mailhog
- Launch tests :
make test- Launch phpunit watcher
make watch-test