Store outgoing emails in Laravel

Overview

Record and view all sent emails

Latest Version on Packagist Total Downloads

Example UI

Watch a video walkthrough https://www.youtube.com/watch?v=Oj_OF5n4l4k&feature=youtu.be

Documentation and install instructions

https://dcblog.dev/docs/laravel-sent-emails

Sample UI

Usage

As soon as a email is sent it will be added to a database table and will be viewable in /sentemails.

Note the you have to be logged in to be able to see sentemails, if you are not logged in when you attempt to see sentemails you will be redirected to a login route.

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

You might also like...
A ready-to-use PHP script for sending Emails with an HTML Template will use a Gmail account as the sender and you will not need any email server. Powered by PHPMailer.
A ready-to-use PHP script for sending Emails with an HTML Template will use a Gmail account as the sender and you will not need any email server. Powered by PHPMailer.

Gmail Email Sender by PHP A ready-to-use PHP script for sending Emails with an HTML Template will use a Gmail account as the sender and you will not n

Magento 2 SMTP Extension helps the owner of store simply install SMTP server
Magento 2 SMTP Extension helps the owner of store simply install SMTP server

Magento 2 SMTP Extension helps the owner of store simply install SMTP (Simple Mail Transfer Protocol) server which transmits the messages into codes or numbers.

Laravel Mail Credentials switcher for Budget Laravel Applications

Laravel Mail Switcher Laravel Mail Credentials Switcher is a library which helps you to: Manage your Mail Service Credentials Configure the Laravel's

Laravel IMAP is an easy way to integrate both the native php-imap module and an extended custom imap protocol into your Laravel app.

Laravel IMAP is an easy way to integrate both the native php-imap module and an extended custom imap protocol into your Laravel app. This enables your app to not only respond to new emails but also allows it to read and parse existing mails and much more.

 Laravel Mail Catcher Driver
Laravel Mail Catcher Driver

Laravel Mail Catcher Driver This package include a new mailbase driver which will catch all the sent emails and save it to the database. It then expos

MailEclipse - Laravel Mailable Editor!
MailEclipse - Laravel Mailable Editor!

MailEclipse is a mailable editor package for your Laravel applications to create and manage mailables using a web UI.

Disposable email address validator for Laravel

Laravel Disposable Email Adds a validator to Laravel for checking whether a given email address isn't originating from disposable email services such

A testing package for intercepting mail sent from Laravel
A testing package for intercepting mail sent from Laravel

Laravel Mail Intercept A testing package for intercepting mail sent from Laravel This testing suite intercepts Laravel Mail just before they are sent

✉️ Laravel Mail Explorer
✉️ Laravel Mail Explorer

Mailbook Mailbook is a Laravel package that lets you easily inspect your mails without having to actually trigger it in your application. View demo In

Comments
  • Unable to JSON encode payload. Error code: 5

    Unable to JSON encode payload. Error code: 5

    Hi,

    I've spent 4 hours debugging because, i had an issue with a behavior of this library !

    Long story short, i you use a queue system to send notifications, you might want to consider encoding your email to utf8 or try to remove as much as possible characters that can cause a json_encode to crash.

    On my side, i was sending a job in order to send a notification with a model in payload ( my jobs a chained, that's why i don't use directly the notification system, it has worked for 6 months without issue ).

    But the issue is that when my job was fired, it will enqueue the notification and because the listener ( to catch mail ) has to lisent to the MessageSending event, it will be enqueued as well, so a the moment when all the queue is processed, i had this weird error telling me that the payload cannot be encoded so i've struggled a long moment before giving up and at this precise moment i've tried to dump and dd everywhere in the vendor/laravel/framework/src/Illuminate/Queue/Queue.php file and by chance the dump had print before the error was throw and i got this :

    image

    But those characters weren't the problem, it's the ones in the bottom :

    image

    So for me i'll roll my own mailcatcher i think but i hope my issue can help someone later :)

    Thanks !

    opened by Bouhnosaure 3
  • Improvement proposal

    Improvement proposal

    Hello

    Your package serves me to strengthen the security of my application by allowing my users to check the emails that the application sends to them, much like OVH can do. In this version unfortunately, if the user changes his email address, it is not possible to find all the emails that have been sent to him. So I suggest you use morphs in your database.

    https://laravel.com/docs/8.x/migrations#column-method-morphs

    So we can still store the email address, but also which user received this email, even if the user profile is modified.

    Sorry for my English, I'm French ;-) Have a good day

    enhancement 
    opened by RERE110 1
  • Suggestion : Display email attachments

    Suggestion : Display email attachments

    Hi @dcblogdev , thanks for this package it is pretty cool and very easy to use! I have a suggestion to implement, would it be feasible to show sent attachments in the email as well? This way the package would be 100% complete!

    Thanks again great job!

    enhancement 
    opened by Taoshan98 0
Releases(v2.0.2)
Owner
David Carr
Blogger at http://dcblog.dev, Lead developer http://theonepoint.co.uk.
David Carr
An AngularJS / Laravel app - Keyword Based Email forwarder | read/write emails through IMAP

@MailTree Simple mail forwarder. Based on the specific email body/subject keywords forward mails to the list of predefined users. Install Imap Install

Dren Kajmakchi 4 Aug 21, 2018
Mail Web is a Laravel package which catches emails locally for debugging

Mail Web is a Laravel package which catches emails locally for debugging Installation Use the package manager composer to install Mail Web. composer r

Appoly 64 Dec 24, 2022
Send beautiful HTML emails with Laravel

Beautymail for Laravel Beautymail makes it super easy to send beautiful responsive HTML emails. It's made for things like: Welcome emails Password rem

null 1.1k Jan 2, 2023
Laravel mailer which will catch all the sent emails and show them on an application view.

Laravel Web Mailer This package contains a web mailer which will catch all the sent emails. Then, you can view it visiting the route /web-inbox. The e

Creagia 54 Dec 16, 2022
CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very usefull when you're sending emails.

CssToInlineStyles class Installation CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline style

Tijs Verkoyen 5.7k Dec 29, 2022
Manage mailboxes, filter/get/delete emails in PHP (supports IMAP/POP3/NNTP)

PHP IMAP Initially released in December 2012, the PHP IMAP Mailbox is a powerful and open source library to connect to a mailbox by POP3, IMAP and NNT

Sergey 1.5k Jan 3, 2023
The Mailer component helps sending emails

Mailer Component The Mailer component helps sending emails. Getting Started $ composer require symfony/mailer use Symfony\Component\Mailer\Transport;

Symfony 1.1k Jan 7, 2023
Allows you to archive old emails from one Gmail mailbox to another Gmail mailbox

Gmail Archiver L'application Gmail archiver permet de déplacer automatiquement tous les vieux mails d'une boite Gmail vers une autre boite Gmail (ou é

Arnaud Lemercier 19 Jan 27, 2022
Queue, preview and and send emails stored in the database.

Codeigniter4 email queue Queue, preview and and send emails stored in the database. This package provides an interface for creating emails on the fly

null 3 Apr 12, 2022
This application (class) does the sending of emails used in the phpmailer library

emailsender - PHP Notification library via email using phpMailer This library has the function of sending email using the phpmailer library. Doing thi

Lucas Alcantara Rodrigues Volpati 1 Feb 9, 2022