PHP code example of binarybuilds / laravel-mail-manager

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

    

binarybuilds / laravel-mail-manager example snippets


    'providers' => [
        //
        \BinaryBuilds\LaravelMailManager\LaravelMailManagerServiceProvider::class
    ]

    'providers' => [
        //
        App\Providers\TelescopeServiceProvider::class,
        \BinaryBuilds\LaravelMailManager\LaravelMailManagerServiceProvider::class
    ]

$this->app->register(TelescopeServiceProvider::class);
$this->app->register(LaravelMailManagerServiceProvider::class);

$schedule->command('mail-manager:resend-unsent-mail')->daily();

$schedule->command('mail-manager:prune --hours=72')->daily();
bash
php artisan vendor:publish --tag=laravel-mail-manager-config

php artisan migrate
bash
php artisan mail-manager:resend-mail 1
bash
php artisan mail-manager:resend-unsent-mail