So far in this chapter, we've exclusively reached for
Mailable classes to send emails; however, there's an alternative approach that you might consider as well. A
Notification class can be used to notify a user in response to some action they took on your website. The difference is in how the user is notified. Sure, we can send them an email, but we could also notify them via a text message, or Slack notification, or even as a physical post card!
Published on Jan 9th, 2020.
Understand.io is used by hundreds of Laravel developers to find and fix errors.
Sign up for a free 14-day trial now.