Mailpit
We run our own Mailpit instance for our beta environments. Mailpit catches all outgoing e-mails of an application and shows them in a web interface, instead of delivering them to the actual recipients.
Demo and testing only
This is purely meant for demo and test purposes with clients, it is not a developer tool. The goal is to prevent unintended e-mail communication with clients during demos.
Web interface
The interface is available at https://mailpit.libaro.io/ and is protected with HTTP authentication.
Username: admin
Password:
Configuration
Add the following mail configuration to the .env of the beta environment:
MAIL_MAILER=smtp
MAIL_HOST=mailpit.libaro.io
MAIL_PORT=1025
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_FROM_ADDRESS="hello@example.com"
MAIL_FROM_NAME="${APP_NAME}"Note that MAIL_USERNAME and MAIL_PASSWORD stay empty: the SMTP server on port 1025 requires no authentication. The credentials above are only used for the web interface on https://mailpit.libaro.io/.
After changing the .env, clear the config cache so the application picks up the new mail settings:
php artisan config:clear