PHP code example of fleximize / laravel-dotdigital-mail-driver

1. Go to this page and download the library: Download fleximize/laravel-dotdigital-mail-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/ */

    

fleximize / laravel-dotdigital-mail-driver example snippets


Mail::driver('dotdigital')->send(new MyMailable());



return [
    'region' => env('DOTDIGITAL_REGION'),
    'username' => env('DOTDIGITAL_USERNAME'),
    'password' => env('DOTDIGITAL_PASSWORD'),
];
bash
php artisan vendor:publish --provider="Fleximize\LaravelDotdigitalMailDriver\Providers\LaravelDotdigitalMailDriverServiceProvider"