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

This package is auto-updated.

Last update: 2024-03-21 09:26:45 UTC


README


68747470733a2f2f7777772e706174726978736d6172742e636f6d2f73746f726167652f706174726978736d6172745f696d616765732f73686f72746375745f69636f6e2e6a7067

Total Downloads License

GitHub stars GitHub issues

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.