leondeng/laravel-batch-mailgun

Enable batch sending of Mailgun transport for Laravel
16,691 5
Install
composer require leondeng/laravel-batch-mailgun
Latest Version:v3.0.0
PHP:^7.2.5|^8.0
License:MIT
Last Updated:Apr 25, 2021
Links: GitHub  ·  Packagist
Maintainer: leondeng

Laravel Batch Sending Emails With Mailgun

Enable batch sending of Mailgun transport for Laravel

Background

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.

Usage

Require this package

composer require "leondeng/laravel-batch-mailgun"

Configuration

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.

License

This package is licensed under the MIT license.

Related Packages

tolotra/mailgun

A simple laravel 5 wrapper for Mailgun HTTP API

8 0
daanra/mailgun

Laravel package for sending mail via the Mailgun API with support for Laravel 7

13,025 2
elite50/e50-mail-laravel

Laravel email facade with support for multiple Mailgun domains.

526 0
ritey/mailgun

A laravel 5 wrapper for sending mail via the Mailgun API in Laravel style

25 1