naftalivo / emailcontact
Package to send emails and store to database sender information
v1.0.1
2022-08-12 00:21 UTC
This package is auto-updated.
Last update: 2024-04-16 15:21:52 UTC
README
Package to send emails and store to database sender information
Installing Package
The recommended way of this package is through composer Composer.
composer require naftalivo/emailcontact
Add in config > app.php this line at the end of providers
'providers' => [ /* * Laravel Framework Service Providers... */ ... Naftalivo\EmailContact\EmailContactServiceProvider::class, ],
Test Package
To test, go to
-
run php artisan serve
-
in localhost:8000 and add /emailcontact
-
configure your email service data in the .env file
MAIL_MAILER=smtp
MAIL_HOST=mailhog
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=null
MAIL_FROM_NAME="${APP_NAME}"