Laravel 5.6 MailJet Transport
The mahi-mahi/mailjet-transport
package provides easy to way to use MailJet service for all outgoing emails.
You can install the package via composer:
composer require mahi-mahi/mailjet-transport
The package will automatically register itself.
You can publish the migration with:
php artisan vendor:publish --provider="MahiMahi\MailjetTransport\MailjetTransportServiceProvider" --tag="config"
This is the contents of the published config file:
return [
'public_key' => env('MAILJET_APIKEY_PUBLIC'),
'private_key' => env('MAILJET_APIKEY_PRIVATE'),
];