lalitwebhopers / wh-mailer
WH Mailer a product of Webhopers Infotech.
v1.0.0
2023-02-21 11:27 UTC
Requires
- php: ^7.4|^8.0
- guzzlehttp/guzzle: *
- illuminate/support: ^8.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2025-02-21 16:48:25 UTC
README
Installation
You can install the package via composer:
composer require lalitwebhopers/wh-mailer
Usage
Add the following code to file "app/config/services.php"
'whmailer' => [ 'url' => env('WHMAILER_URL'), 'key' => env('WHMAILER_API_KEY') ],
Update the following code to file "app/config/mail.php"
'default' => env('MAIL_MAILER', 'whmailer'),
Add the following code to file "app/config/mail.php"
add the following code inside 'mailers' array.
'whmailer' => [ 'transport' => 'whmailer', ],
Update the file ".env"
MAIL_MAILER='whmailer' WHMAILER_URL='http://netmail.whdev.in:5000/api/mailer/send-text' WHMAILER_API_KEY='Your API Key provided by WHMailer'
Update the file "app/config/app.php"
inside 'providers' array comment the default 'MailServiceProvider' & add 'WHMailerServiceProvider'.
'providers' => [ ... // Illuminate\Mail\MailServiceProvider::class, Lalitwebhopers\WhMailer\WhMailerServiceProvider::class, ... ]
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email lalit.webhopers@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.