Laravel Pro Tips
💡There's an alwaysTo helper on the Mail class in Laravel.
It helps you to avoid accidental e-mail sends when developing.
Laravel Tip 💡 You can use the when() or unless() methods in your MailMessage notifications to set conditional object properties like a call to action.
💡Did you know you can preview an e-mail with Laravel?
You just need to return an instance of the Mail class and it will open a modal with the preview (if it's a web route).
Exactly what I needed for a newsletter feature and it's very helpful to debugging.
#Laravel Tip 🔥 You can delay the delivery of queued email using later() method
No articles were found.