The easiest way to send an email in Laravel is with the Mail::raw()
method. In this lesson, we'll learn how to submit a form, read a provided email address from the request, and then fire off an email to the person.
app/Models
directory. This means an App\Post
namespace should now be App\Models\Post
.