© Sanjib Sinha 2019
S. SinhaBeginning Laravel https://doi.org/10.1007/978-1-4842-4991-8_10

10. Working with the Mail Template

Sanjib Sinha1 
(1)
Howrah, West Bengal, India
 

Sending mails and notifications through Laravel 5.8 is not complicated. The most popular library to do this with is SwiftMailer ( https://swiftmailer.symfony.com/ ). You can install it in your root application directory.

Local Development

To check your e-mail verification property locally, let’s install a fresh version of Laravel in your home/code directory. You need a fresh Laravel installation to start with the concept that the user is not verified initially.
//code 10.1
$ composer create-project --prefer-dist laravel/laravel laranew
Let’s check the version.
//code 10.2
ss@ss-H81M-S1:~/code/laranew$ ...

Get Beginning Laravel: Build Websites with Laravel 5.8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.