Laravel Mail Template: a laravel mail template driver to send emails with
Laravel Mail Template is a good package that we can use to send emails easily with some popular providers.
Installation
You can install the package via composer:
composer require dansmaculotte/laravel-mail-template
The package will automatically register itself.
To publish the config file to config/mail-template.php
run:
php artisan vendor:publish --provider="DansMaCulotte\MailTemplate\MailTemplateServiceProvider"
Finally, install the email service package needed:
Mailjet
composer require mailjet/mailjet-apiv3-php
Mandrill
composer require mandrill/mandrill
SendGrid
composer require sendgrid/sendgrid
Mailgun
composer require mailgun/mailgun-php
SendinBlue
composer require sendinblue/api-v3-sdk
Source Code and Documentation
This post is submitted by our members. Submit a new post.
Tags: Tutorials Laravel 5.8 Laravel 5.7 Laravel 5.6 Laravel 5.5 Laravel 5.4 Laravel 5 Intermediate