You can install the package via composer:
composer require mindtwo/px-mail-laravel-driver
To publish the modules config file simply run
php artisan vendor:publish px-mail
This publishes the px-mail.php
config file to your projects config folder. Note: This step is optional as long as you complete the next step.
After that you should add the following keys to your .env-file:
- TX_MAIL_TENANT
- TX_MAIL_CLIENT_ID
- TX_MAIL_CLIENT_SECRET
This keys will auto populate the respective config values.
Inside your configuration you will also find the key:
stage
which will use your APP_ENV variable.
To send mails via Laravels Mail-Facade you need to add inside your apps mail.php mailers section:
'txmail' => [
'transport' => 'txmail',
],
Then you need to set your apps default mailer to 'txmail'
or update your .env at the position MAIL_MAILER
.
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.