 Wallogit.com
                    
                    2017 © Pedro Peláez
                         Wallogit.com
                    
                    2017 © Pedro Peláez
                    
                    
                    
                    
                
                
            
This is KPAPostMail Service
KPAPostMail is a package for Laravel 5+ that provides helpers for some common Mail Sending techniques., (*2)
The first step is using composer to install the package and automatically update your composer.json file, you can do this by running:, (*3)
composer require king052188/kpapostmail
Note: If you are using Laravel 5.5, the steps 2 and 3, for providers and aliases, are unnecessaries. KPAPostMail supports Laravel new Package Discovery., (*4)
You need to update your application configuration in order to register the package so it can be loaded by Laravel, just update your config/app.php file adding the following code at the end of your 'providers' section:, (*5)
config/app.php, (*6)
// file START ommited
    'providers' => [
        // other providers ommited
        king052188\KPAPostMail\KPAPostMailServiceProvider::class,
    ],
// file END ommited
Facades are not supported in Lumen., (*7)
In order to use the KPAPostMail facade, you need to register it on the config/app.php file, you can do that the following way:, (*8)
// file START ommited
    'aliases' => [
        'KPAPostMail' => king052188\KPAPostMail\Facades\KPAPostMail::class,
    ],
// file END ommited
In your terminal type, (*9)
php artisan vendor:publish
or, (*10)
php artisan vendor:publish --provider="king052188\KPAPostMail\KPAPostMailServiceProvider"
In order to use the KPAPostMail, get your Access Token from here Sign-Up., (*11)
config/services.php, (*12)
// file START ommited
    'KPAPostMail' => [
        'domain' => env('KPAPostMail_DOMAIN', 'postmail.kpa21.info'),
        'email' => env('KPAPostMail_EMAIL', 'YOUR-EMAIL-ADDRESS'),
        'uid' => env('KPAPostMail_UID', 'YOUR-UID'),
    ],
// file END ommited