naftalivo/emailcontact

Package to send emails and store to database sender information


License
MIT

Documentation

Package to send email 📦🛸🚀

Issues Stars

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}"