https://github.com/maxlen/laravel-dkim
https://github.com/maxlen/laravel-dkim
dkim laravel mail
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/maxlen/laravel-dkim
- Owner: maxlen
- License: mit
- Created: 2020-01-06T19:41:20.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-01T18:15:37.000Z (almost 4 years ago)
- Last Synced: 2025-06-05T06:46:07.073Z (4 months ago)
- Topics: dkim, laravel, mail
- Language: PHP
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel DKIM
Package, that allows sign emails with DKIM.## Installation
1. Install via Composer:
```
composer require maxlen/laravel-dkim
```
2. In `config/app.php` comment line with original service provider:
```
// Illuminate\Mail\MailServiceProvider::class,
```
3. In `config/app.php` add following line to provider's section:
```
maxlen\LaravelDkim\DkimMailServiceProvider::class,
```
4. Fill your settings in `config/mail.php`:
```
'dkim_selector' => env('MAIL_DKIM_SELECTOR'), // selector, required
'dkim_domain' => env('MAIL_DKIM_DOMAIN'), // domain, required
'dkim_private_key' => env('MAIL_DKIM_PRIVATE_KEY'), // path to private key, required
'dkim_identity' => env('MAIL_DKIM_IDENTITY'), // identity (optional)
'dkim_algo' => env('MAIL_DKIM_ALGO'), // sign algorithm (defaults to rsa-sha256)
'dkim_passphrase' => env('MAIL_DKIM_PASSPHRASE'), // private key passphrase (optional)
```## License
> The MIT License
>
> Copyright (c) 2020 Maxim Gavrilenko
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in
> all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
> THE SOFTWARE.