Enable batch sending of Mailgun transport for Laravel
leondeng/laravel-batch-mailgun is a Laravel package for enable batch sending of mailgun transport for laravel.
It currently has 5 GitHub stars and 16.574 downloads on Packagist (latest version v3.0.0).
Install it with composer require leondeng/laravel-batch-mailgun.
Discover more Laravel packages by leondeng
or browse all Laravel packages to compare alternatives.
Last updated
Enable batch sending of Mailgun transport for Laravel
Laravel supports Mailgun transport, however it does not support the batch sending feature. Developers had to use Mailgun SDK for this. With this package, developers will be able to keep using Mailable classes with Mailgun batch sending.
composer require "leondeng/laravel-batch-mailgun"
After adding the package, replace the official MailServiceProvider in the providers array in config/app.php
Illuminate\Mail\MailServiceProvider::class
with
LeonDeng\LaravelBatchMailgun\MailServiceProvider::class
Then add batch_sending flag in config/mail.php
'batch_sending' => env('MAIL_BATCH_SENDING', false),
Then set the env variable MAIL_BATCH_SENDING fro your environment.
This package is licensed under the MIT license.