patrixsmart / mailfast
A simple package use to send email with the option of attaching a file and save the mail message to the database.
dev-master
2019-01-11 05:53 UTC
Requires
This package is auto-updated.
Last update: 2025-03-21 11:48:36 UTC
README
A simple package use to send email with the option of attaching a file and save the mail message to the database.
Installation
Set up package
composer require patrixsmart/mailfast
Add ServiceProvider
Edit config/app.php, add the following file to Application Service Providers
section.
Patrixsmart\Mailfast\MailfastServiceProvider::class,
Unisharp\Ckeditor\ServiceProvider::class,
Publish the resources
php artisan vendor:publish --tag=mailfast
php artisan vendor:publish --tag=ckeditor
Migrate Mailfast Mails Table
php artisan migrate
Set-Up .env Credentials For Mails
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
Email Form Location
http://..../mailfast/form
Delete All Previously Sent Mails
Delete stored mails older than today from the mailfast_mails table
with the command below.
php artisan mailfast:prune
Security Vulnerabilities
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.
License
The PatriXsmarT Mailfast is open-sourced software licensed under the MIT license.