Skip to content

Laravel MailServiceProvider decorator, providing sign outgoing emails with DKIM

License

Notifications You must be signed in to change notification settings

0DUDDU/laravel-dkim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel DKIM

Package, that allows sign emails with DKIM.

Need confirmation this works with Laravel 7

Installation

  1. Install via Composer:
composer require dudu54/laravel-dkim
  1. In config/app.php comment line with original service provider:
// Illuminate\Mail\MailServiceProvider::class,
  1. In config/app.php add following line to provider's section:
Vitalybaev\LaravelDkim\DkimMailServiceProvider::class,
  1. 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', 'rsa-sha256'), // sign algorithm (defaults to rsa-sha256)
'dkim_passphrase' => env('MAIL_DKIM_PASSPHRASE'), // private key passphrase (optional)
  1. Check your .env:
In Laravel 7, 'MAIL_DRIVER' > 'MAIL_MAILER' + add and fill :
MAIL_DKIM_SELECTOR=""
MAIL_DKIM_DOMAIN=""
MAIL_DKIM_PRIVATE_KEY=""
MAIL_DKIM_IDENTITY=""
MAIL_DKIM_ALGO=""
MAIL_DKIM_PASSPHRASE=""

About

Laravel MailServiceProvider decorator, providing sign outgoing emails with DKIM

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%