Download the PHP package foxxmd/laravel-mail-extras without Composer
On this page you can find all versions of the php package foxxmd/laravel-mail-extras. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download foxxmd/laravel-mail-extras
More information about foxxmd/laravel-mail-extras
Files in foxxmd/laravel-mail-extras
Package laravel-mail-extras
Short Description Extra functionality for sending mail with Laravel
License MIT
Informations about the package laravel-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
Require this package
After adding the package, add the ServiceProvider to the providers array in config/app.php
Configuration
Simply add this new key/value anywhere in config/mail.php
to set the number of retry attempts:
It defaults to 0 if not present (normal behavior)
Default behavior for throwing exceptions is also configurable.
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.
All versions of laravel-mail-extras with dependencies
illuminate/contracts Version 5.2.*|5.1.*|5.3.*
illuminate/container Version 5.2.*|5.1.*|5.3.*
illuminate/support Version 5.2.*|5.1.*|5.3.*
illuminate/mail Version 5.2.*|5.1.*|5.3.*
illuminate/log Version 5.2.*|5.1.*|5.3.*