This package can be used to add a DKIM signature to your outgoing mails.
Instead of changing the default Laravel Mailer, Laravel DKIM will listen for the \Illuminate\Mail\Events\MessageSending
Event and then call the \TobyMaxham\LaravelDkimSigner\Listener\ApplyDkimSignature Listener.
This keeps your Laravel Mailer behavior or any changes you have done inside your projects.
You can install the package via composer:
composer require tobymaxham/laravel-dkimIf you are using Laravel with auto discovery you have nothing to do.
Be sure the package Service Provider TobyMaxham\LaravelDkimSigner\DkimSignerProvider is registered in your config/app.php file.
You can disable the signer by setting the dkim_signer_enabled config value to false.
<?php
return [
'dkim_signer_enabled' => env('MAIL_DKIM_ENABLED', true),
];Please see CHANGELOG for more information on what has changed recently.
If you've found a bug regarding security please mail git@maxham.de instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.