PHP code example of php-monsters / laravel-postal-driver
1. Go to this page and download the library: Download php-monsters/laravel-postal-driver library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
php-monsters / laravel-postal-driver example snippets
'mailers' => [
'postal' => [
'transport' => 'postal',
'key' => env('POSTAL_API_KEY'),
'endpoint' => env('POSTAL_API_ENDPOINT'),
],
],
use App\Mail\TestMail;
use Illuminate\Support\Facades\Mail;
Mail::to('[email protected]')->send(new TestMail());