foxxmd/laravel-mail-extras
Larablocks Analysis
foxxmd/laravel-mail-extras works with Laravel 5 (latest release 0.2.2, Sep 20, 2018), which reached end of life: no more fixes, even for security.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- Supports only Laravel 5, past end of life
- No release in the last 12 months (last: Sep 20, 2018)
- 0 downloads a month (needs 10,000)
- 1 GitHub star (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Sep 20, 2018.
- No releases in the last 12 months.
- First released: Dec 21, 2016.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.
| Install | |
|---|---|
composer require foxxmd/laravel-mail-extras |
|
| Latest Version: | 0.2.2 |
| PHP: | >=5.5.9 |
| Laravel: | 5 |
| License: | MIT |
| Last Updated: | Dec 11, 2020 |
| Links: | GitHub · Packagist |
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
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
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
New functionality is welcomed! Create an issue or submit a PR :)
License
This package is licensed under the MIT license.
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 0.2.2 | >=5.5.9 | 5.2.*| | MIT | |
| 0.2.1 | >=5.5.9 | 5.2.*| | MIT | |
| 0.2 | >=5.5.9 | 5.2.*| | MIT | |
| 0.1 | >=5.5.9 | 5.2.*| | MIT |