namespace App\Listeners;
use HighSolutions\LaravelMailderDaemonCatcher\Events\MailerDaemonMessageReceived;
class MailerDaemonMessageListener
{
public function __construct()
{
//
}
/**
* Handle the event.
*
* @param \HighSolutions\LaravelMailderDaemonCatcher\Events\MailerDaemonMessageReceived $event
* @return void
*/
public function handle(MailerDaemonMessageReceived $event)
{
// Access the message using $event->message...
}
}
bash
php artisan mailer-daemon:catch
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.