tobymaxham/laravel-dkim
Composer 安装命令:
composer require tobymaxham/laravel-dkim
包简介
This package can enable DKIM for your Laravel mails.
关键字:
README 文档
README
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.
Installation
You can install the package via composer:
composer require tobymaxham/laravel-dkim
Usage
If 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), ];
Generate Key
# Generate new DKIM Key openssl genrsa -out dkim_private.pem 2048 # Get the public Key openssl ec -in dkim_private.pem -pubout -outform der | openssl base64 -A
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
If you've found a bug regarding security please mail git@maxham.de instead of using the issue tracker.
Support me
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 566
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-01-09