Posted by Arjun on Friday 24th July 2020

Laravel Notification - notify using only email address

We can send On Demand Notifications using the Notification facade using an only email address. This is feature is available since Laravel 5.5 and above.

Notification::route('mail', '[email protected]')->notify(new contactFormSubmitted($data));