FEATURE #1552 @1h: save sent messages into database

This commit is contained in:
Michal Kváček
2017-09-14 20:18:32 +02:00
parent 6b0509a1db
commit b1b31afa3b
15 changed files with 266 additions and 36 deletions
+14
View File
@@ -0,0 +1,14 @@
<?php
namespace Modules\ContactForm\Providers;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
protected $listen = [
\Illuminate\Mail\Events\MessageSending::class => [
\Modules\ContactForm\Listeners\SaveSentEmail::class
],
];
}