Laravel Pro Tips
#mailables #email
💡There's an alwaysTo helper on the Mail class in Laravel. It helps you to avoid accidental e-mail sends when developing.
Martin Joo
#notifications #mailables
Laravel Tip 💡 You can use the when() or unless() methods in your MailMessage notifications to set conditional object properties like a call to action.
Philo Hermans
💡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.
#mailables #queues
#Laravel Tip 🔥 You can delay the delivery of queued email using later() method #laravelframwork
Sanjit Singh
No articles were found.