Tinkerwell 4 is out now! Get the most popular PHP Scratchpad application. Tinkerwell 4 is out now: Get the most popular PHP Scratchpad with Detail Dive, AI code generation and more. Learn more →
BeyondCode
Once you’ve installed HELO, setting up email testing for your local Laravel application is done in a minute.
Diana Scharf
Working on emails with clients usually means multiple reviews of these emails to tweak texts and email layouts. With HELO, you can share emails of your local development environment or even whole inboxes with your clients and they don't have to trigger the emails themselves.
Sebastian Schlein
Debugging emails can be cumbersome, especially if you don't know the exact data that a Mailable gets or which Blade views your application uses to render an email. HELO provides a helper package for Laravel that adds additional debug information to every email and makes debugging your emails as easy as it gets.
There are many ways to test emails in Laravel applications. In this tutorial, we are using Tinkerwell to trigger the email and display the content with additional debug information in HELO to see which data was sent to the Mailable and how it looks in modern email clients.
HELO works very nicely if you're sending via SMTP using SwiftMailer, PHPMailer, etc. – but lots of apps and scripts rely on PHP's clunky old mail() function. This article tells you how to do it.