Send emails to a single test email address for test environments in Laravel

1 · Amit Merchant · April 23, 2022, 4:02 p.m.
When you’re working on a Laravel application, chances are you might be working with a lot of emails. For instance, every time, a new user is created, a welcome email and a confirmation email will be sent to the user. There would be many such instances where emails will be fired. So, in your test environments, it doesn’t make sense to use different emails for various purposes. What if we could just use a single email address and all the emails of the application would be sent to this email addres...