Giter Site home page Giter Site logo

braunson / laravel-5-mail-log Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iwedmak/laravel-5-mail-log

0.0 3.0 0.0 22 KB

Logs every email sended by laravel (via Mail class include queued mails), preventing duplicates, Monitors email reads, have event MessageRead.

Home Page: https://packagist.org/packages/iwedmak/mail-log

PHP 89.46% HTML 10.54%

laravel-5-mail-log's Introduction

laravel-5-mail-log

Logs every email sended by laravel (via Mail class include queued mails), preventing duplicates, u can override this by adding in bcc [email protected] or u can limit frequency (by default 30 minutes) of duplicates by adding in bcc [email protected] (this can be changed in config file) Monitors email reads, have event MessageRead.

  • install
composer require iwedmak/mail-log
  • Or
php composer.phar require iwedmak/mail-log
  • Or add to composer.json
"iwedmak/mail-log": "dev-master"

Register provider, add this to config/app.php in providers array:

iWedmak\Mail\MailLogServiceProvider::class,

After that u will need to publish config

php artisan vendor:publish

and publish migrations and migrate

php artisan maillog:migration
php artisan migrate

Now we can subscribe to mailsend event, by adding to app/Providers/EventServiceProvider.php

protected $subscribe = [
    'iWedmak\Mail\MailEventListener',
];

Now u have one more event, it's iWedmak\Mail\MessageRead when email was read.

laravel-5-mail-log's People

Contributors

iwedmak avatar

Watchers

 avatar  avatar  avatar

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.