Collect and Monitor Everything About Sent Emails in Your Laravel App
Last updated on by Paul Redmond
The Laravel Mails package collects everything about sent emails in your Laravel app. When your app fails to deliver an email, it can be complicated to track down the culprit, or the email can fail invisibly. Using this package, you can surface mail issues, track trends, and get notified when something is wrong.
Main Features
- Log all sent emails, attachments and events with only specific attributes
- Works currently for popular email service provider Postmark (more planned)
- Collect feedback about the delivery status from email providers using webhooks
- Get quickly and automatically notified when email hard/soft bounces or the bounce rate goes too high
- Prune all logged emails periodically to keep the database nice and slim
- Resend logged emails to another recipient
- View all sent emails in the browser using complementary package Filament Mails
This package is highly configurable - check out the published configuration file for details on everything you can configure in this package.
If you are using Filament, the accompanying Filament Mails plugin can give you a dashboard to visualize important mail stats as well as investigate individual emails:
You can learn more about this package, get full installation instructions, and view the source code on GitHub. Also, check out the accompanying Filament mails plugin.