Download the PHP package highsolutions/laravel-mailer-daemon-catcher without Composer
On this page you can find all versions of the php package highsolutions/laravel-mailer-daemon-catcher. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-mailer-daemon-catcher
Laravel Mailer Daemon Catcher
Singalizing that sent e-mail cannot be delivered to the recipient.
Installation
This package can be installed through Composer:
Or by adding the following line to the require
section of your Laravel webapp's composer.json
file:
And run composer update
to install the package.
Usage
Check IMAP inbox
To check is any unseen Mailer Daemon message in the inbox, execute this command:
Package gets configuration from config/mail.php
.
We recommend add this command to app/Console/Kernel.php
for scheduling this task:
Handle Mailer Daemon messages
When command finds new messages, it will fire a HighSolutions\LaravelMailderDaemonCatcher\Events\MailerDaemonMessageReceived
event.
To capture this event create a listener for this event in App/Providers/EventServiceProvider.php
:
In that example create a listener in app/Listeners/MailerDaemonMessageListener.php
e.g.:
Testing
Run the tests with:
Changelog
2.0.0
- Support Laravel 9.x, 10.x, and 11.x and Webklex/IMAP ^5.3
1.6.0
- Last version supporting Webklex/IMAP ^1.6
1.4.0
- Support Laravel 7.x and 8.x
1.3.0
- Change method to withdraw the recipient and subject method
- FIX - Error concerning connection failure catched all exceptions
1.2.0
- Add custom config for more detailed configuration
1.1.0
- Support Laravel 6.0
1.0.0
- Basic version
Credits
This package is developed by HighSolutions, software house from Poland in love in Laravel.
All versions of laravel-mailer-daemon-catcher with dependencies
illuminate/console Version ^9.0|^10.0|^11.0
illuminate/support Version ^9.0|^10.0|^11.0
webklex/laravel-imap Version ^4.0|^5.3