gabrieliuga / laravel-mail-log Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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
Currently save only email as string.
But the same email can belong to different entities.
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:
Edited: Seems the solution is only to call parent::register() at register method, pull request: #13
For example save unsended email with exception like: Swift_TransportException: Expected response code 354 but got code "503", with message "503 Valid RCPT command must precede DATA "
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.
Case: need to keep all sent letters forever. Over a month, more than a 1gb of logs has accumulated. The main reason is duplication of the same embeded images.
It is better to create a table in which unique embeded images by their md5 and size will be saved.
Can You activate Laravel Version 7 for this package?
Add command and scheduler to allow older emails to be removed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.