Giter Club home page Giter Club logo

laravel-dkim's Introduction

Laravel 5 DKIM

Package, that allows sign emails with DKIM.

Installation

  1. Install via Composer:
composer require vitalybaev/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'), // sign algorithm (defaults to rsa-sha256)
'dkim_passphrase' => env('MAIL_DKIM_PASSPHRASE'), // private key passphrase (optional)

License

The MIT License

Copyright (c) 2016 Vitaly Baev

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.

laravel-dkim's People

Contributors

henriklippke avatar jamestel avatar langemeijer avatar rdanklof avatar vitalybaev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

laravel-dkim's Issues

Emails not signed when queued

I seems that the DKIM signing classes are not used when a mail is dispatched to the queue. Even writing a job that sends an email will not result in signed mail.

How can this plugin be changed so that queued messages are also using the classes that add the DKIM signature?

not signing

Здравствуйте!
Сделайте пожалуйста полный пример, ибо с коробки по ридми гайду не подписывает.
Спасибо!

Laravel 7

Please.

Is it possible to update us for laravel 7?

With Laravel 7, I have this error :

Call to undefined method Illuminate\Mail\MailServiceProvider::registerSwiftMailer()

thank you so much

queue sending not working

Hi, I've just installed this package and I've noticed that only signs the message if you send the message in sync mode, but if you queue the message it doesn't get signed....
This makes sense?

not working in laravel 7

hi, i'm trying to use your DKIM library for laravel 7, but when i use: composer require Fossil01/laravel-dkim. It says that the version does not support laravel 7:
Problem 1
- Installation request for fossil01/laravel-dkim ^1.5 -> satisfiable by fossil01/laravel-dkim[1.5].
- Conclusion: remove laravel/framework v7.12.0
- Conclusion: don't install laravel/framework v7.12.0
- fossil01/laravel-dkim 1.5 requires laravel/framework ^5.2|^6.0 -> satisfiable by laravel/framework[5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, 5.6.x-dev, 5.7.x-dev, 5.8.x-dev, 6.x-dev].
- Can only install one of: laravel/framework[5.5.x-dev, v7.12.0].
- Can only install one of: laravel/framework[5.6.x-dev, v7.12.0].
- Can only install one of: laravel/framework[5.7.x-dev, v7.12.0].
- Can only install one of: laravel/framework[5.8.x-dev, v7.12.0].
- Can only install one of: laravel/framework[6.x-dev, v7.12.0].
- Can only install one of: laravel/framework[5.2.x-dev, v7.12.0].
- Can only install one of: laravel/framework[5.3.x-dev, v7.12.0].
- Can only install one of: laravel/framework[5.4.x-dev, v7.12.0].
- Installation request for laravel/framework (locked at v7.12.0, required as ^7.0) -> satisfiable by laravel/framework[v7.12.0].

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.