Download the PHP package govelid/multi-smtp-mailer without Composer
On this page you can find all versions of the php package govelid/multi-smtp-mailer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download govelid/multi-smtp-mailer
More information about govelid/multi-smtp-mailer
Files in govelid/multi-smtp-mailer
Download govelid/multi-smtp-mailer
More information about govelid/multi-smtp-mailer
Files in govelid/multi-smtp-mailer
Vendor govelid
Package multi-smtp-mailer
Short Description Multi SMTP Mailer - Use for set multiple smtp mailer dynamically for your laravel web
License MIT
Package multi-smtp-mailer
Short Description Multi SMTP Mailer - Use for set multiple smtp mailer dynamically for your laravel web
License MIT
Please rate this library. Is it a good library?
Informations about the package multi-smtp-mailer
multi-smtp-mailer
composer require govelid/multi-smtp-mailer
This package allow you set multiple smtp mailer dynamically from database, it is more secure than you have to set your credentials mail at your config or .env file
Installation
- 1. You need setup your database
- 2. Run
composer require govelid/multi-smtp-mailer
- 3. Modify the composer.json file in your Laravel app by adding the following lines to the autoload section:
"psr-4": { "App\\": "app/", "Govelid\\MultiSmtpMailer\\": "vendor/govelid/multi-smtp-mailer/src/" }
- 4. Run
composer dump-autoload
- 5. Publish the migration file :
php artisan vendor:publish --provider="Govelid\MultiSmtpMailer\MailConfigServiceProvider"
- 6. Run
php artisan migrate
- 7. Create new data mailer at mail_settings table , for first mail default mailer is 'smtp' , the next mailer you can give custom name
- 8. Tes your mail
How to use mail
- Default mailer : Mail::to($recipient)->send(new Mail)
- Custom mailer : Mail::mailer('custommailer)->to($recipient)->send(new Mail)
How to use MailSetting Model
- Use as is Laravel Eloquent Model , example display all data form table mail_settings:
MailSetting::all();
- Dont forget to add
use Govelid\MultiSmtpMailer\MailSetting;
All versions of multi-smtp-mailer with dependencies
PHP Build Version
Package Version
No informations.
The package govelid/multi-smtp-mailer contains the following files
Loading the files please wait ....