A simple package use to send email with the option of attaching a file and save the mail message to the database.
composer require patrixsmart/mailfast
Edit config/app.php, add the following file to Application Service Providers
section.
Patrixsmart\Mailfast\MailfastServiceProvider::class,
Unisharp\Ckeditor\ServiceProvider::class,
php artisan vendor:publish --tag=mailfast
php artisan vendor:publish --tag=ckeditor
php artisan migrate
MAIL_DRIVER=smtp
MAIL_HOST=xxxxxxxxxx
MAIL_PORT=587
MAIL_USERNAME=xxxxxxxxxx
MAIL_PASSWORD=xxxxxxxxxx
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=mailfast@patrixsmart.com
MAIL_FROM_NAME=PatriXsmarT
http://..../mailfast/form
Delete stored mails older than today from the mailfast_mails table
with the command below.
php artisan mailfast:prune
If you discover a security vulnerability within Mailfast, please send an e-mail to Patrick C. Duruamadi via patrick@patrixsmart.com. All security vulnerabilities will be promptly addressed.
The PatriXsmarT Mailfast is open-sourced software licensed under the MIT license.