PHPackages                             foxxmd/laravel-mail-extras - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. foxxmd/laravel-mail-extras

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

foxxmd/laravel-mail-extras
==========================

Extra functionality for sending mail with Laravel

0.2.2(7y ago)110.8kMITPHPPHP &gt;=5.5.9

Since Dec 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/FoxxMD/laravel-mail-extras)[ Packagist](https://packagist.org/packages/foxxmd/laravel-mail-extras)[ RSS](/packages/foxxmd-laravel-mail-extras/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (5)Versions (8)Used By (0)

Laravel 5 Mail Extras
=====================

[](#laravel-5-mail-extras)

*Add some extra functionality to your mail flow*

This package extends Laravel 5 Mail by adding:

- Attempt to retry sending mail X times

I'm sure I will be adding more in the future, but that's it for now!

Installation
------------

[](#installation)

Require this package

```
composer require "foxxmd/laravel-mail-extras"
```

After adding the package, add the ServiceProvider to the providers array in `config/app.php`

```
\FoxxMD\LaravelMailExtras\LaravelMailExtrasServiceProvider::class,
```

Configuration
-------------

[](#configuration)

Simply add this new key/value anywhere in `config/mail.php` to set the number of retry attempts:

```
'retries' => 3
```

It defaults to 0 if not present (normal behavior)

Default behavior for throwing exceptions is also configurable.

```
'exceptions' => [
    'mailFailure' => true, // will throw a MailFailureExeption if any exception is thrown during sending mail
    'deliveryFailure' => false // will throw a MailDeliveryException if any recipients fail to recieve mail during delivery
]
```

These parameters can be overridden using the send method

EX `Mail::send($view, $data, $callback, $throwOnMailFailure, $throwOnDeliveryFailure)`

Contributing
------------

[](#contributing)

New functionality is welcomed! Create an issue or submit a PR :)

License
-------

[](#license)

This package is licensed under the [MIT license](https://github.com/FoxxMD/laravel-mail-extras/blob/master/LICENSE.txt).

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~212 days

Total

4

Last Release

2839d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e034a2b4c63a810f72067441ec19dce7d9993a7fad0f1b27dd5734a4a2ad8070?d=identicon)[FoxxMD](/maintainers/FoxxMD)

---

Top Contributors

[![FoxxMD](https://avatars.githubusercontent.com/u/4663766?v=4)](https://github.com/FoxxMD "FoxxMD (8 commits)")

### Embed Badge

![Health badge](/badges/foxxmd-laravel-mail-extras/health.svg)

```
[![Health](https://phpackages.com/badges/foxxmd-laravel-mail-extras/health.svg)](https://phpackages.com/packages/foxxmd-laravel-mail-extras)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[illuminate/notifications

The Illuminate Notifications package.

483.0M1.1k](/packages/illuminate-notifications)[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k51.0M7.7k](/packages/larastan-larastan)[laravel/ai

The official AI SDK for Laravel.

1.0k2.1M163](/packages/laravel-ai)[illuminate/database

The Illuminate Database package.

2.8k54.1M11.2k](/packages/illuminate-database)[illuminate/mail

The Illuminate Mail package.

5910.4M475](/packages/illuminate-mail)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
