Email Testing
Local Development
During local development, all emails are captured by Mailpit running in Docker. No emails are sent to real addresses.
Accessing Mailpit
When Laravel Sail is running, access the Mailpit web interface at:
plaintext
http://localhost:8025All emails sent by the application will appear in the Mailpit inbox immediately.
Staging/Production Environment
Emails in non-local environments use Mailtrap for testing.
Accessing Mailtrap
Credentials
Mailtrap credentials are not stored in this documentation. Check the team's password manager or contact an admin for access.
Steps
- Go to Mailtrap.
- Log in with the team credentials from the password manager.
- Choose the inbox associated with your environment.
- Open the inbox to view sent emails.