PHP code example of resohead / laravel-test-mail

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

    

resohead / laravel-test-mail example snippets


php artisan vendor:publish --provider="Resohead\LaravelTestMail\LaravelTestMailServiceProvider" --tag="config"
 php
php artisan mail:test

php artisan mail:test --driver=log

php artisan mail:test --stack=emails

php artisan mail:test --connection=sqs

php artisan queue:work sqs --queue:emails

php artisan mail:test --preset=example1

// php artisan mail:test [email protected] --queue

php artisan mail:test --preset=example2

// php artisan mail:test --driver=log --stack=emails

php artisan mail:test --preset=example3

// php artisan mail:test [email protected] --driver=smtp --connection=redis --stack=notifications