Code Monkey home page Code Monkey logo

laravel-mail-log's People

Contributors

4n70w4 avatar duckzland avatar gabrieliuga avatar jeffersonsimaogoncalves avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

laravel-mail-log's Issues

Request: Reply-To

Would it be possible to add "Reply-To" ->replyTo() to the database for this package so that I don't have to adapt it all by myself?

Thanks

Laravel 8 and event listener

I'm not sure if this is only at my laravel installation which has custom logic to add service provider but this is the case:

Laravel 8
when email is sent via queue then the queued events Illuminate\Queue\Events\JobProcessed::class and Illuminate\Mail\Events\MessageSent fired as expected, but Laravel is unable to listen to Illuminate\Mail\Events\MessageSent as specified in Giuga\LaravelMailLog\MailEventServiceProvider causing the Giuga\LaravelMailLog\Listeners\MailSentListener will never executed.

my solution is to move the listener down to register method as replacing Giuga\LaravelMailLog\MailEventServiceProvider like:

I didnt make any pull requrest because I'm not 100% sure if this issue affects everybody with laravel 8.

Edited: Seems the solution is only to call parent::register() at register method, pull request: #13

Can I somehow save the entity for which the email was triggered?

I looked at your source code and I can’t understand if it is possible to get an entity that initiated sending mail from MessageSent event. Can this be done in other ways?

Example: mail about register new user.

I want to add to mail log a (polymorphic relation) reference to the entity of the user who has been registered.

Example: mail about checkout shopping cart.

I want to add to mail log a (polymorphic relation) reference to the entity of the order that was been.

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.